Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| workflow_dispatch: {} | |
| release: | |
| types: | |
| - published | |
| jobs: | |
| check: | |
| uses: ./.github/workflows/ci.yml | |
| secrets: inherit | |
| publish: | |
| needs: check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # Required for OIDC | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| check-latest: true | |
| - name: Setup Yarn | |
| run: corepack enable | |
| - name: Install Packages | |
| run: yarn install | |
| - name: Build | |
| run: yarn build | |
| - name: Update npm | |
| run: npm install -g npm@latest | |
| - name: Trusted Publish with Provenance | |
| run: npm publish |