Update dependency vitest to v2.1.5 (#64) #188
This file contains 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
name: Release | |
on: | |
push: | |
branches: [main, beta] | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
id-token: write # to enable use of OIDC for npm provenance | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
concurrency: | |
group: release-${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
check: | |
name: Check | |
uses: ./.github/workflows/ci.yml | |
publish: | |
name: PR or Publish | |
runs-on: ubuntu-latest | |
needs: [check] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Verify Integrity of Dependencies | |
run: npm audit signatures | |
- name: Build Package | |
run: pnpm tsup | |
- name: Create Pull Request or Publish Packages | |
uses: changesets/action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_CONFIG_PROVENANCE: true | |
with: | |
version: 'pnpm ci:version' | |
publish: 'pnpm ci:publish' | |
commit: '[ci] release' | |
title: '[ci] release' |