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 a412b21 commit 3266651Copy full SHA for 3266651
.github/workflows/node.js.yml
@@ -0,0 +1,27 @@
1
+# Credits to https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
2
+# for the code.
3
+
4
+name: Node.js CI
5
6
+on:
7
+ push:
8
+ branches:
9
+ - main
10
+ pull_request:
11
12
13
14
+jobs:
15
+ build:
16
17
+ runs-on: ubuntu-latest
18
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Use Node.js
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: '20.x'
25
+ - run: npm ci
26
+ - run: npm run build --if-present
27
+ - run: npm test
0 commit comments