Skip to content

Update storybook monorepo to v10.1.10 (minor) #1087

Update storybook monorepo to v10.1.10 (minor)

Update storybook monorepo to v10.1.10 (minor) #1087

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Test
run: yarn test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Lint
run: yarn lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Migrate db
run: yarn prisma migrate deploy
- name: Seed database with dummy data
run: yarn seed
- name: Build
run: yarn build
deploy:
permissions:
contents: write
packages: write
attestations: write
id-token: write
needs:
- build
- test
if: github.ref == 'refs/heads/master'
uses: ./.github/workflows/deploy.yml
with:
ref: ${{ github.sha }}
secrets: inherit