Skip to content

Commit

Permalink
ci: add .github/workflows/nodejs-test.yml to run npm test on every co…
Browse files Browse the repository at this point in the history
…mmit
  • Loading branch information
gobengo committed Mar 14, 2024
1 parent af0f618 commit 24f2d20
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nodejs-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Node.js Test

on:
- push

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18
- 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test

0 comments on commit 24f2d20

Please sign in to comment.