chore(web): update next.js to v13.4.17 #3312
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: 'Chromatic' | |
on: | |
push: | |
paths: | |
- 'packages/ui/**' | |
workflow_dispatch: | |
inputs: | |
sha: | |
description: The SHA-1 hash referring to the commit to check. | |
required: true | |
ref: | |
description: The head branch associated with the pull request. | |
required: true | |
jobs: | |
chromatic-deployment: | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
DB_DIRECT_URL: ${{ secrets.DB_DIRECT_URL }} | |
CI: true | |
OVERRIDE_CI: true | |
FORCE_COLOR: true | |
SKIP_ENV_VALIDATION: true | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/ui | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Node.js | |
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
run_install: false | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
shell: bash | |
run: 'echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT' | |
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 | |
name: Setup pnpm cache | |
with: | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
key: pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm-store- | |
# - name: Install dependencies | |
# run: pnpm install | |
# 👇 Runs pnpm in ./packages/ui | |
- name: Install dependencies | |
run: pnpm install | |
working-directory: packages/ui | |
# 👇 Runs Chromatic CLI in ./packages/ui | |
- name: Publish to Chromatic | |
uses: chromaui/action@671728dff1f5d28ae44538038bb18dd21f72a8cc # v1 | |
with: | |
workingDir: packages/ui | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
# storybookBuildDir: storybook-static/ | |
buildScriptName: sb:build | |
onlyChanged: true | |
skip: '@(renovate/**|l10_**)' | |
exitOnceUploaded: true |