We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06d666c commit 62b9fcdCopy full SHA for 62b9fcd
.github/main.workflow.yml
@@ -0,0 +1,24 @@
1
+on: push
2
+jobs:
3
+ build:
4
+ runs-on:
5
+ pool: ${{ matrix.operating-system }}
6
+ strategy:
7
+ matrix:
8
+ operating-system: [Linux]
9
+ actions:
10
+ - name: Set Node.js 10.x
11
+ uses: bryanmacfarlane/node-config@master
12
+ with:
13
+ version: 10.x
14
+
15
+ - name: npm install
16
+ # Explicitly uninstall husky so that we avoid issues with git hooks/node versioning.
17
+ # Should switch to clean checkout instead when supported.
18
+ run: npm prune --production && npm install && npm uninstall husky
19
20
+ - name: Lint
21
+ run: npm run format-check
22
23
+ - name: npm test
24
+ run: npm test
0 commit comments