Skip to content

Commit

Permalink
Merge branch 'ci/bump-lts' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
codejedi365 committed Sep 30, 2021
2 parents 2ab1ae5 + 7dc1ad9 commit e39354c
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 e39354c

Please sign in to comment.