Skip to content

chore: bootstrap releases for path: . (#23) #37

chore: bootstrap releases for path: . (#23)

chore: bootstrap releases for path: . (#23) #37

Workflow file for this run

on:
push:
branches:
- 'main'
permissions:
# Needed by googleapis/release-please-action@v4
contents: write
pull-requests: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: 🍄 Bump package version, create GitHub release and changelog
uses: googleapis/release-please-action@v4
id: release
with:
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
- name: 🚀 Publish to npm
if: ${{ steps.release.outputs.release_created }}
run: |
npm install
npm run build --if-present
npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}