Skip to content

fix(deps): update dependency next to v15 [security] #11381

fix(deps): update dependency next to v15 [security]

fix(deps): update dependency next to v15 [security] #11381

Workflow file for this run

name: Visual Test
on:
push:
branches: [main, feature/*]
pull_request:
branches: [main, feature/*]
types: [labeled, synchronize]
merge_group:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
visual-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check branch up to date with base
run: ./tools/scripts/check-git-diff.sh
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
restore-keys: node-modules-${{ matrix.node-version }}-
- name: NPM Install
run: npm install --silent
- uses: nrwl/nx-set-shas@v4
- name: nx Install
run: npm install -g nx --silent
- name: Build Stories
id: build-storybook
run: nx affected --target=build-storybook shared-storybook --webpack-stats-json
# ADD CHROMATIC BACK DURING A COOLDOWN
# - name: Check for frontend changes
# id: check_files
# uses: andstor/file-existence-action@v3
# with:
# files: 'dist/storybook/shared-storybook'
#👇 Adds Chromatic as a step in the workflow
# - name: Run VR tests
# if: ${{ steps.check_files.outputs.files_exists == 'true' }}
# uses: chromaui/action@v1
# # Options required for Chromatic's GitHub Action
# # https://www.chromatic.com/docs/github-actions#available-options
# # https://github.com/chromaui/chromatic-cli/blob/main/action.yml
# with:
# #👇 Chromatic projectToken, see https://storybook.js.org/tutorials/intro-to-storybook/react/en/deploy/ to obtain it
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
# token: ${{ secrets.GITHUB_TOKEN }}
# storybookBuildDir: 'dist/storybook/shared-storybook'
# exitOnceUploaded: 'true'
# autoAcceptChanges: 'main'
# onlyChanged: 'true'
# skip: '@(dependabot/**|00-00-CI-chore-update-translations)'
# untraced: '@(package*.json|.storybook/**)'
# traceChanged: 'expanded'
# dryRun: 'true'
# debug: 'true'