Skip to content

Commit

Permalink
Add CI job with smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Nov 8, 2022
1 parent fdb8bc5 commit ce889d7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node.js

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
node-14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with: { node-version: 14 }
- run: npm ci
- run: npm test
node-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with: { node-version: latest }
- run: npm ci
- run: NODE_OPTIONS=--openssl-legacy-provider npm test

0 comments on commit ce889d7

Please sign in to comment.