Skip to content

Commit ca52e7c

Browse files
committed
Fix create-release workflow to update npm and use node 16
Signed-off-by: Mark Irish <[email protected]>
1 parent f55aee2 commit ca52e7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [14.x]
14+
node-version: [16.x]
1515

1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Use Node.js ${{ matrix.node-version }}
1919
uses: actions/setup-node@v1
2020
with:
2121
node-version: ${{ matrix.node-version }}
22+
- name: Upgrade NPM
23+
run: npm install -g npm
2224
- run: npm install -g node-gyp
2325
- run: npm ci --production
2426
- run: ./node_modules/.bin/node-pre-gyp rebuild --production

0 commit comments

Comments
 (0)