We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aeaeb3 commit a094805Copy full SHA for a094805
.github/workflows/node.js.yml
@@ -0,0 +1,31 @@
1
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
2
+
3
+name: Node.js CI
4
5
+on:
6
+ push:
7
+ branches: [ "main" ]
8
+ pull_request:
9
10
11
+jobs:
12
+ build:
13
14
+ runs-on: ubuntu-latest
15
16
+ strategy:
17
+ matrix:
18
+ # Old infra requires Node 10
19
+ node-version: [10.x, 18.x]
20
21
+ steps:
22
+ - name: Install xmllint
23
+ run: sudo apt-get install -y libxml2-utils
24
+ - uses: actions/checkout@v3
25
+ - name: Use Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v3
27
+ with:
28
+ node-version: ${{ matrix.node-version }}
29
+ cache: 'npm'
30
+ - run: npm ci
31
+ - run: npm test
.travis.yml
0 commit comments