mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 09:31:23 +01:00
feat: add GitHub Actions workflow for unit tests
This commit is contained in:
parent
131a66082f
commit
64c7688d16
1 changed files with 17 additions and 0 deletions
17
.github/workflows/unit-tests.yml
vendored
Normal file
17
.github/workflows/unit-tests.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue