Skip to content

Commit

Permalink
Update ci steps to use node 14 + 16
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Mar 22, 2022
1 parent bd7a6c0 commit 5a6bd06
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,23 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [ '12.x', '14.x' ]
node: [ '14.x', '16.x' ]
os: [ubuntu-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: 'yarn'

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
with:
install-command: yarn --frozen-lockfile --silent
- name: Install deps
run: yarn install --frozen-lockfile --silent
env:
CI: true

- name: Lint
run: yarn lint
Expand Down

0 comments on commit 5a6bd06

Please sign in to comment.