-
-
Notifications
You must be signed in to change notification settings - Fork 106
24 lines (22 loc) · 604 Bytes
/
Copy pathnode.js.yml
File metadata and controls
24 lines (22 loc) · 604 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Build and test Yopta Node.js
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '15', '16']
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build
- run: npm test