chore(deps): update pnpm to v9 (#5) #5
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
on: | |
push: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: write | |
pull-requests: write | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- id: release | |
uses: google-github-actions/release-please-action@v4 | |
with: | |
release-type: node | |
- uses: actions/checkout@v4 | |
if: ${{ steps.release.outputs.release_created }} | |
- run: corepack enable | |
if: ${{ steps.release.outputs.release_created }} | |
- uses: actions/setup-node@v4 | |
with: | |
cache: "pnpm" | |
registry-url: 'https://registry.npmjs.org' | |
if: ${{ steps.release.outputs.release_created }} | |
- run: pnpm i --frozen-lockfile | |
if: ${{ steps.release.outputs.release_created }} | |
- name: Publish to NPM | |
run: pnpm publish --access public --no-git-checks | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_CONFIG_PROVENANCE: true | |
if: ${{ steps.release.outputs.release_created }} |