Skip to content

Commit

Permalink
fix(ci): run tests on a matrix of node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Oct 14, 2022
1 parent e66d054 commit 3825ac0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'alpha'
jobs:
build-test-publish:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ name: Build and Test NODE
on: [pull_request, workflow_dispatch, push]
jobs:
build-test:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
version: [ 14, 16, 18 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js

- name: "Setup node with cache"
uses: actions/setup-node@v3
with:
node-version: 14
node-version: ${{ matrix.version }}
cache: 'yarn'

- run: yarn install --frozen-lockfile
Expand Down

0 comments on commit 3825ac0

Please sign in to comment.