Skip to content

build(deps): update google-github-actions/release-please-action actio… #136

build(deps): update google-github-actions/release-please-action actio…

build(deps): update google-github-actions/release-please-action actio… #136

name: release-please
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.RENOVATE_BOT_APP_ID }}
private-key: ${{ secrets.RENOVATE_BOT_PRIVATE_KEY }}
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ steps.generate_token.outputs.token }}
package-name: prettier-config
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 12
registry-url: https://registry.npmjs.org/
if: ${{ steps.release.outputs.release_created }}
- run: yarn install --frozen-lockfile
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
if: ${{ steps.release.outputs.release_created }}