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 8af6065 commit bd6eb64Copy full SHA for bd6eb64
.github/workflows/ci.yml
@@ -0,0 +1,28 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ node-version: [12.x, 14.x, 16.x]
17
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: Use Node.js ${{ matrix.node-version }}
22
+ uses: actions/setup-node@v2
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
+ cache: 'npm'
26
+ - run: npm ci
27
+ - run: npm run build --if-present
28
+ - run: npm test
0 commit comments