Skip to content

Commit

Permalink
dial in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Sep 13, 2021
1 parent 1a46d5b commit c586621
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,26 @@ jobs:

strategy:
matrix:
node: ['12', '14']
node: ['12', '14', '16']
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: yarn
- name: test
run: yarn test
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- name: yarn prepare
if: steps.yarn-cache.outputs.cache-hit == 'true'
run: yarn prepare
- run: yarn lint
- run: yarn test

0 comments on commit c586621

Please sign in to comment.