We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a526093 commit 948dd5dCopy full SHA for 948dd5d
.github/workflows/nodejs.yml
@@ -1,9 +1,13 @@
1
name: Node CI
2
3
on:
4
+ push:
5
+ branches:
6
+ - main
7
pull_request:
8
branches:
- - main
9
10
+
11
jobs:
12
build:
13
runs-on: ${{ matrix.os }}
@@ -14,15 +18,15 @@ jobs:
14
18
os: [ubuntu-latest, windows-latest, macos-latest]
15
19
16
20
steps:
17
- - uses: actions/checkout@v1
- - name: Use Node.js 16.x
- uses: actions/setup-node@v1
- with:
21
- node-version: 16.x
22
- - name: npm install, build, and test
23
- run: |
24
- npm install
25
- npm run build --if-present
26
- npm test
27
- env:
28
- CI: true
+ - uses: actions/checkout@v1
+ - name: Use Node.js 18.x
+ uses: actions/setup-node@v1
+ with:
+ node-version: 18.x
+ - name: npm install, build, and test
+ run: |
+ npm install
29
+ npm run build --if-present
30
+ npm test
31
+ env:
32
+ CI: true
0 commit comments