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 8c20d9f commit 34f502cCopy full SHA for 34f502c
.github/workflows/build.yml
@@ -0,0 +1,28 @@
1
+name: 'Test and Build'
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ workflow_dispatch:
7
8
+jobs:
9
+ test-and-build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
14
+ - uses: actions/cache@v2
15
+ with:
16
+ path: ~/.npm
17
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18
+ restore-keys: |
19
+ ${{ runner.os }}-node-
20
21
+ - uses: actions/setup-node@v2
22
23
+ node-version: '12'
24
+ check-latest: true
25
26
+ - run: npm ci
27
+ - run: npm run test:ci
28
+ - run: npm run build
0 commit comments