From 7dc1ad90e2a6cacfb2c3732de5f6976c635e57ed Mon Sep 17 00:00:00 2001 From: codejedi365 Date: Thu, 30 Sep 2021 00:07:10 -0400 Subject: [PATCH] ci > Bump to latest 3 Node LTS versions, drop 10.x \### Rationale The Long Term Support (LTS) versions of Node.js have rolled over to the next increment and deprecated the use of Node.js v10. Dropping from our supported & pre-tested version usage --- .github/workflows/nodejs.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ffaf555..f107334 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,31 +11,30 @@ on: jobs: build: - runs-on: ubuntu-latest - strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [12.x, 14.x, 16.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm i - - run: npm run build --if-present - - run: npm test + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + - run: npm test + release: runs-on: ubuntu-latest needs: build steps: + - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 - - uses: actions/checkout@v1 - - run: npm i + node-version: 16 + - run: npm ci - run: npm run build --if-present - run: npx semantic-release env: