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