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