Update dependency @storybook/test-runner to v0.20.1 #2040
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: Tests Front - Quasar Build | |
on: [push] | |
# https://stackoverflow.com/a/72408109/2714285 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./quasar | |
steps: | |
- uses: actions/checkout@v3 | |
# https://github.com/renovatebot/renovate/issues/7716#issuecomment-734391360 | |
- name: Read Node.js version from .nvmrc | |
run: echo "NODE_VERSION=$(cat ../.nvmrc)" >> $GITHUB_OUTPUT | |
id: nvm | |
# https://github.com/actions/setup-node#caching-global-packages-data | |
- uses: actions/setup-node@v3 | |
with: | |
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#multiple-operating-systems-and-architectures | |
node-version: ${{ steps.nvm.outputs.NODE_VERSION }} | |
cache: 'yarn' | |
cache-dependency-path: quasar/yarn.lock | |
- name: yarn install | |
run: yarn install --immutable | |
- name: quasar build | |
run: yarn quasar build | |