Skip to content

Commit 92700b2

Browse files
committed
chore: update ci-nodejs.yml
1 parent 0a37dde commit 92700b2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci-nodejs.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "bindings/node.js/**"
88
- ".github/workflows/**"
99
tags:
10-
- 'node.js-[0-9]+.[0-9]+.[0-9]+'
10+
- "node.js*"
1111
pull_request:
1212
branches: ["master"]
1313
paths:
@@ -18,8 +18,8 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
defaults:
21-
run:
22-
working-directory: ./bindings/node.js
21+
run:
22+
working-directory: ./bindings/node.js
2323

2424
strategy:
2525
matrix:
@@ -33,13 +33,12 @@ jobs:
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535
cache: "npm"
36-
cache-dependency-path: './bindings/node.js/package-lock.json'
36+
cache-dependency-path: "./bindings/node.js/package-lock.json"
3737
- run: npm ci
3838
working-directory: ./bindings/node.js
3939
- run: npm run test
4040
working-directory: ./bindings/node.js
4141

42-
4342
publish-npm:
4443
needs: build
4544
runs-on: ubuntu-latest
@@ -51,7 +50,7 @@ jobs:
5150
with:
5251
node-version: ${{ matrix.node-version }}
5352
cache: "npm"
54-
cache-dependency-path: './bindings/node.js/package-lock.json'
53+
cache-dependency-path: "./bindings/node.js/package-lock.json"
5554
- run: npm ci
5655
- run: npm publish
5756
env:

0 commit comments

Comments
 (0)