Skip to content

Commit f602238

Browse files
committed
Fix npm publishing
1 parent f4a484b commit f602238

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/release-npm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
node-version: '16'
1717
cache: 'npm'
1818
cache-dependency-path: javascript/package-lock.json
19+
- run: npm install-test
20+
working-directory: javascript
1921
- uses: cucumber/[email protected]
2022
with:
2123
npm-token: ${{ secrets.NPM_TOKEN }}

.github/workflows/test-javascript.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
matrix:
1717
os:
1818
- ubuntu-latest
19-
node-version: [12.x, 14.x, 16.x]
19+
node-version: ['12.x', '14.x', '16.x']
2020
include:
2121
- os: windows-latest
22-
node-version: 16.x
22+
node-version: '16.x'
2323
- os: macos-latest
24-
node-version: 16.x
24+
node-version: '16.x'
2525

2626
steps:
2727
- uses: actions/checkout@v2
@@ -31,6 +31,5 @@ jobs:
3131
node-version: ${{ matrix.node-version }}
3232
cache: 'npm'
3333
cache-dependency-path: javascript/package-lock.json
34-
- run: npm i -g npm@7
3534
- run: npm install-test
3635
working-directory: javascript

0 commit comments

Comments
 (0)