We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a88d283 + b5806a3 commit 467895fCopy full SHA for 467895f
.github/workflows/build-lint-test.yml
@@ -0,0 +1,35 @@
1
+name: Node Build, Lint and Test
2
+
3
+on:
4
+ push:
5
6
+jobs:
7
+ build-test-lint:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout xero-node repo
12
+ uses: actions/checkout@v4
13
+ with:
14
+ repository: XeroAPI/xero-node
15
+ path: xero-node
16
17
+ - name: Set up Node environment
18
+ uses: actions/setup-node@v4
19
20
+ node-version: 20
21
+ cache: 'npm'
22
+ cache-dependency-path: '**/package-lock.json'
23
24
25
+ - name: Install dependencies
26
+ run: npm ci
27
+ working-directory: xero-node
28
29
+ - name: Run Build
30
+ run: npm run build
31
32
33
+ - name: Run Tests
34
+ run: npm run test
35
0 commit comments