1 | name: build
|
2 |
|
3 | on:
|
4 | push:
|
5 | branches:
|
6 | - master
|
7 | pull_request:
|
8 | branches:
|
9 | - master
|
10 |
|
11 | jobs:
|
12 | verify:
|
13 | runs-on: ubuntu-latest
|
14 | timeout-minutes: 10
|
15 |
|
16 | steps:
|
17 | - uses: actions/checkout@master
|
18 | with:
|
19 | persist-credentials: false
|
20 |
|
21 | - name: set up node.js
|
22 | uses: actions/setup-node@v1
|
23 | with:
|
24 | node-version: "14.x"
|
25 |
|
26 | - name: lint and test
|
27 | run: npm install && npm run ci
|