Skip to content

Commit 89bbf6f

Browse files
Merge pull request #62 from web-push-libs/action-nodejs
Actions for nodejs bits
2 parents ab25f35 + 487af69 commit 89bbf6f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
paths:
10+
- 'nodejs/**'
11+
pull_request:
12+
branches: [ master ]
13+
paths:
14+
- 'nodejs/**'
15+
16+
jobs:
17+
build:
18+
19+
runs-on: ubuntu-latest
20+
21+
strategy:
22+
matrix:
23+
node-version: [10.x, 12.x, 14.x, 16.x, 18.x]
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Use Node.js ${{ matrix.node-version }}
28+
uses: actions/setup-node@v1
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
- run: node nodejs/test.js dump verbose

0 commit comments

Comments
 (0)