Skip to content

Commit 42d5a02

Browse files
Update Node.js CI workflow to use make commands
1 parent aa280b0 commit 42d5a02

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3-
4-
name: Node.js CI
1+
name: Node.js CI
52

63
on:
74
push:
@@ -11,21 +8,21 @@ on:
118

129
jobs:
1310
build:
14-
1511
runs-on: ubuntu-latest
1612

1713
strategy:
1814
matrix:
1915
node-version: [18.x, 20.x, 22.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2116

2217
steps:
2318
- uses: actions/checkout@v4
2419
- name: Use Node.js ${{ matrix.node-version }}
2520
uses: actions/setup-node@v4
2621
with:
2722
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
23+
- name: Configure
24+
run: ./configure
25+
- name: Build
26+
run: make
27+
- name: Test
28+
run: make test

0 commit comments

Comments
 (0)