Skip to content

Commit

Permalink
Create npm-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethhaworth authored Oct 12, 2024
1 parent eee2dca commit 42d45f5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: npm test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test

0 comments on commit 42d45f5

Please sign in to comment.