Skip to content

chore: bump actions/checkout from 6.0.2 to 6.0.3 in the all group (#595) #112

chore: bump actions/checkout from 6.0.2 to 6.0.3 in the all group (#595)

chore: bump actions/checkout from 6.0.2 to 6.0.3 in the all group (#595) #112

Workflow file for this run

name: publish
on:
workflow_dispatch: {}
push:
branches:
- main
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
outputs:
release_created: ${{ steps.release.outputs.release_created }}
version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
id: release
publish:
if: ${{ needs.release.outputs.release_created }}
needs: [release]
runs-on: ubuntu-latest
environment:
name: NPM
url: https://www.npmjs.com/package/pg-error-enum/v/${{ needs.release.outputs.version }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
# waiting on: https://github.com/actions/setup-node/issues/531
- run: corepack enable
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm publish --access public