Skip to content

chore: apply direct hash and set permissions in actions token (#6) #5

chore: apply direct hash and set permissions in actions token (#6)

chore: apply direct hash and set permissions in actions token (#6) #5

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
id-token: write
name: release
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- name: checkout
if: ${{ steps.release.outputs.releases_created }}
uses: actions/checkout@v6
- name: setup pnpm
if: ${{ steps.release.outputs.releases_created }}
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288
- name: setup node
if: ${{ steps.release.outputs.releases_created }}
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: install dependencies
if: ${{ steps.release.outputs.releases_created }}
run: pnpm install --no-frozen-lockfile
- name: publish packages
if: ${{ steps.release.outputs.releases_created }}
run: pnpm -r publish --no-git-checks --provenance --access public