Skip to content

chore: v1.0.3

chore: v1.0.3 #15

Workflow file for this run

name: Release
env:
CI: true
FORCE_COLOR: 1
permissions:
contents: write
pull-requests: write
on:
push:
branches:
- main
workflow_dispatch:
inputs:
force_npm_publish:
description: 'publish to npm (ignoring release-please)'
default: false
type: boolean
jobs:
release:
runs-on: ubuntu-latest
outputs:
paths_released: ${{ steps.release.outputs.paths_released }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
- if: ${{ steps.release.outputs.release_created || inputs.force_npm_publish }}
uses: actions/checkout@v4
- if: ${{ steps.release.outputs.release_created || inputs.force_npm_publish }}
uses: actions/setup-node@v4
with:
node-version: 20.11.1
registry-url: 'https://registry.npmjs.org'
- if: ${{ steps.release.outputs.release_created || inputs.force_npm_publish }}
run: |
npm ci
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}