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 3afa73c commit 7741a7cCopy full SHA for 7741a7c
.github/workflows/ci.yaml
@@ -0,0 +1,37 @@
1
+name: ci
2
+
3
+on:
4
+ push:
5
+ branches: "**"
6
+ tags-ignore: "v*"
7
+ pull_request:
8
9
+jobs:
10
+ prebuild:
11
+ name: Pre-build checks
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout repo
15
+ uses: actions/checkout@v2
16
17
+ - name: Install Node.js v12
18
+ uses: actions/setup-node@v2
19
+ with:
20
+ node-version: "12"
21
22
+ - name: Fetch dependencies from cache
23
+ id: cache-yarn
24
+ uses: actions/cache@v2
25
26
+ path: "**/node_modules"
27
+ key: yarn-build-${{ hashFiles('**/yarn.lock') }}
28
29
+ - name: Install dependencies
30
+ if: steps.cache-yarn.outputs.cache-hit != 'true'
31
+ run: yarn --frozen-lockfile
32
33
+ - name: Run yarn lint
34
+ run: yarn lint
35
36
+ - name: Run yarn test
37
+ run: yarn test
0 commit comments