Skip to content

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

chore(deps): update all non-major dependencies

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

Workflow file for this run

name: E2E tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
e2e-tests:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.node }}
cancel-in-progress: true
name: 'Starter'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Keep this in sync with the oldest Node.js version supported by the storybook
node: [20, 21, 22, 23, 24]
os: [ubuntu-latest, windows-latest, macos-latest]
exclude:
# Failing (windows): https://github.com/nuxt-modules/storybook/pull/882#issuecomment-2939100304
# Failing (others): https://github.com/nuxt-modules/storybook/pull/933#issuecomment-3183349526
- node: 21
env:
# renovate: datasource=npm depName=storybook
STORYBOOK_VERSION: '9.1.16'
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- name: Setup Node
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install Verdaccio
shell: bash
run: |
pnpm install -g verdaccio wait-on
verdaccio --listen 4873 &
wait-on --log http://localhost:4873
curl http://localhost:4873
TOKEN_RES=$(curl -XPUT \
-H "Content-type: application/json" \
-d '{ "name": "test", "password": "test" }' \
'http://localhost:4873/-/user/org.couchdb.user:test')
TOKEN=$(echo "$TOKEN_RES" | jq -r '.token')
pnpm config set //localhost:4873/:_authToken $TOKEN
pnpm config set registry http://localhost:4873/
- name: Install dependencies
run: pnpm install
- name: Build packages
run: |
pnpm jiti prepare-release.ts --nightly
pnpm publish --recursive --tag latest --no-git-checks --report-summary
env:
NODE_ENV: 'production'
- name: Create Sample Project
shell: pwsh
run: |
New-Item -Path ${{ runner.temp }}/example -ItemType Directory
pnpm nuxt init ${{ runner.temp }}/example --packageManager pnpm --force --gitInit=false
cd ${{ runner.temp }}/example
pnpm dlx storybook@${{ env.STORYBOOK_VERSION }} init
pnpm list --long
- name: Build Storybook
run: pnpm build-storybook
working-directory: ${{ runner.temp }}/example