From ca52e7cfab8eda29e230197ac19cfa479f947a4b Mon Sep 17 00:00:00 2001 From: Mark Irish Date: Thu, 31 Mar 2022 09:49:58 -0500 Subject: [PATCH] Fix create-release workflow to update npm and use node 16 Signed-off-by: Mark Irish --- .github/workflows/create-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 132f6b9d..fb05c9ff 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 @@ -19,6 +19,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - name: Upgrade NPM + run: npm install -g npm - run: npm install -g node-gyp - run: npm ci --production - run: ./node_modules/.bin/node-pre-gyp rebuild --production