Skip to content

chore(deps): update all non-major dependencies #2438

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #2438

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Keep this in sync with the oldest Node.js version supported by the storybook
node: [18, 20]
os: [ubuntu-latest, windows-latest, macos-latest]
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Needed for the nightly release to calculate the version bump
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:coverage
- name: Build
run: pnpm build
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm test:playwright
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report-${{ runner.os }}-${{ matrix.node }}
path: playwright-report/
retention-days: 30
- name: Nightly release
if: |
github.event_name == 'push' &&
matrix.node == 20 &&
matrix.os == 'ubuntu-latest' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.event.head_commit.message, 'docs')
run: pnpm nightly-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}