Skip to content

Commit ce889d7

Browse files
committed
Add CI job with smoke test
1 parent fdb8bc5 commit ce889d7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/nodejs.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node.js
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
workflow_dispatch:
9+
10+
jobs:
11+
node-14:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
16+
with: { node-version: 14 }
17+
- run: npm ci
18+
- run: npm test
19+
node-latest:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
- uses: actions/setup-node@v3
24+
with: { node-version: latest }
25+
- run: npm ci
26+
- run: NODE_OPTIONS=--openssl-legacy-provider npm test

0 commit comments

Comments
 (0)