Skip to content

chore: add vite-plugin-inspect in playground to make debugging easier #1662

chore: add vite-plugin-inspect in playground to make debugging easier

chore: add vite-plugin-inspect in playground to make debugging easier #1662

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]
steps:
- uses: actions/checkout@v4
with:
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
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:coverage
- name: Build
run: pnpm build
- 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 publish --recursive --tag next --access public --report-summary --no-git-checks --force
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}}