Skip to content

Commit

Permalink
add CI test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ar committed Aug 14, 2024
1 parent 9fd296c commit 39d7487
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
pull_request
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
check-latest: false
cache: npm

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test

0 comments on commit 39d7487

Please sign in to comment.