From 9a963b4325fb09bb1960f1e49fd286ca37ae34d0 Mon Sep 17 00:00:00 2001 From: Timea Date: Thu, 10 Mar 2022 10:32:03 +0100 Subject: [PATCH] Update CI Removed node 10 and 12 Matrix build with node 16 --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9cacd22..d13fe9d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,9 @@ jobs: strategy: matrix: node-version: - - 10.x - - 12.x - 14.x - 15.x + - 16.x steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -29,7 +28,7 @@ jobs: - run: npm run build - run: npm run bundlesize - name: Save build - if: matrix.node-version == '14.x' + if: matrix.node-version == '16.x' uses: actions/upload-artifact@v2 with: name: build @@ -61,7 +60,7 @@ jobs: name: build - uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 16.x - uses: rlespinasse/github-slug-action@v3.x - name: Append commit hash to package version run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'