Skip to content

Update storybook monorepo to v8 #1973

Update storybook monorepo to v8

Update storybook monorepo to v8 #1973

name: Tests Back - Strapi 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: ./strapi
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: strapi build
run: yarn strapi build