mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run
* fix: use global vars instead of window. * feat: add GitHub Actions workflow for unit tests * fix: change mapCoordinates declaration from let to var for compatibility
17 lines
No EOL
344 B
YAML
17 lines
No EOL
344 B
YAML
name: Unit Tests
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-node@v5
|
|
with:
|
|
node-version: '24'
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Run Unit tests
|
|
run: npm run test |