Skip to content

chore: please-release type simple #11

chore: please-release type simple

chore: please-release type simple #11

Workflow file for this run

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
strategy:
matrix:
registry:
- 'https://registry.npmjs.org'
- 'https://npm.pkg.github.com'
steps:
- uses: googleapis/release-please-action@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: ${{ matrix.registry }}
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ matrix.registry == 'https://registry.npmjs.org' && secrets.NPM_TOKEN || secrets.GITHUB_TOKEN }}