build(deps-dev): bump @vitest/coverage-istanbul from 1.6.0 to 2.1.5 #867
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'build-test' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
pre-commit-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- uses: actions/cache/restore@v4 | |
id: cache-restore | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18.17.1' | |
cache: 'yarn' | |
- name: Yarn Install | |
run: yarn install | |
- uses: actions/cache/save@v4 | |
id: cache-save | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
- uses: pre-commit/[email protected] | |
- name: Tests | |
run: yarn test | |
continue-on-error: true # ignore test failures for now |