Skip to content

fix: release pipeline #12

fix: release pipeline

fix: release pipeline #12

Workflow file for this run

on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: node
# The logic below handles the npm publication:
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 21
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v4
if: ${{ steps.release.outputs.release_created }}
with:
version: 9
- uses: extractions/setup-just@v2
if: ${{ steps.release.outputs.release_created }}
- uses: hustcer/setup-nu@v3
if: ${{ steps.release.outputs.release_created }}
with:
version: '0.96.1'
- run: just publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}