build(deps-dev): bump vite from 4.5.1 to 5.0.7 #647
Workflow file for this run
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@v3 | |
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@v3 | |
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 |