Skip to content

ci: fix npm publish via OIDC trusted publishing #34

ci: fix npm publish via OIDC trusted publishing

ci: fix npm publish via OIDC trusted publishing #34

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
validate:
name: ${{ matrix.script }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
script:
- format:check
- lint
- type-check
- test
- build
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Install Playwright Chromium
if: matrix.script == 'test'
run: pnpm exec playwright install chromium --with-deps
- name: ${{ matrix.script }}
run: pnpm ${{ matrix.script }}