From 0e9fc1f05df319ca9341c3337b9279e462e3f080 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 14 Aug 2021 16:53:39 +0200 Subject: [PATCH] CI: Use short Node versions https://github.com/actions/setup-node#supported-version-syntax documents only the short versions, without `.x`, so we shall use them. Signed-off-by: David Mehren --- .github/workflows/node.js.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e9d3eb500..d75a1a459 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12, 14, 16] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12, 14, 16] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -56,7 +56,7 @@ jobs: - run: yarn --frozen-lockfile --prefer-offline - run: yarn run build - uses: actions/upload-artifact@v2 - if: github.ref == 'refs/heads/master' && matrix.node-version == '16.x' + if: github.ref == 'refs/heads/master' && matrix.node-version == '16' with: name: Prebuild with Node.js ${{ matrix.node-version }} path: |