We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215fdd7 commit 87f84bcCopy full SHA for 87f84bc
.github/workflows/node.js.yml
@@ -0,0 +1,30 @@
1
+# https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
2
+---
3
+name: Node.js CI
4
+
5
+on:
6
+ push:
7
+ branches: [master]
8
+ pull_request:
9
10
11
+jobs:
12
+ build:
13
14
+ runs-on: ubuntu-latest
15
16
+ strategy:
17
+ matrix:
18
+ node-version: [14.x, 15.x]
19
20
+ steps:
21
+ - uses: actions/checkout@v2
22
+ - uses: c-hive/gha-yarn-cache@v1
23
+ - name: Use Node.js ${{ matrix.node-version }}
24
+ uses: actions/setup-node@v1
25
+ with:
26
+ node-version: ${{ matrix.node-version }}
27
+ - name: Install dependencies
28
+ run: yarn --frozen-lockfile
29
+ - name: Run Linters
30
+ run: yarn lint
0 commit comments