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 84f419c commit 635b442Copy full SHA for 635b442
.github/workflows/test.yml
@@ -0,0 +1,28 @@
1
+name: Test
2
+
3
+on:
4
+ pull_request:
5
+ branches: ['master']
6
+ types: [opened, synchronize, reopened]
7
8
+jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20.x'
19
+ cache: 'npm'
20
21
+ - name: Install dependencies
22
+ run: npm ci
23
24
+ - name: Run tests
25
+ run: npm test
26
27
+ - name: Run lint
28
+ run: npm run lint
0 commit comments