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 f9b9c59 commit b33ab96Copy full SHA for b33ab96
.github/workflows/ci-github-tests.yml
@@ -0,0 +1,37 @@
1
+name: API CI - Lint & Test
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - staging
7
+ - main
8
+ push:
9
10
11
12
13
+jobs:
14
+ test:
15
+ name: test
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: read
19
20
+ steps:
21
+ - name: Checkout repository
22
+ uses: actions/checkout@v4
23
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v4
26
+ with:
27
+ node-version: '24'
28
+ cache: 'npm'
29
30
+ - name: Install dependencies
31
+ run: npm install
32
33
+ - name: Run ESLint
34
+ run: npm run lint
35
36
+ - name: Run tests
37
+ run: npm run test
0 commit comments