Skip to content

fix: skip generating error events for unauthorized or forbidden error… #75

fix: skip generating error events for unauthorized or forbidden error…

fix: skip generating error events for unauthorized or forbidden error… #75

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
branches:
- master
env:
NODE_VERSION: 20
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
release_please:
name: Release Please
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
id: release
publish:
name: Publish
needs: release_please
if: ${{ needs.release_please.outputs.release_created }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm registry
run: |
make init
- name: Build
run: |
make build
- name: Publish to npm registry
run: |
make copy-genfiles
npm publish --access public