Skip to content

Commit

Permalink
ci > Bump to latest 3 Node LTS versions, drop 10.x
Browse files Browse the repository at this point in the history
\### 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
  • Loading branch information
codejedi365 committed Sep 30, 2021
1 parent 8e8efc1 commit 7dc1ad9
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7dc1ad9

Please sign in to comment.