Skip to content

build(deps): bump googleapis/release-please-action from 4 to 5 (#91) #71

build(deps): bump googleapis/release-please-action from 4 to 5 (#91)

build(deps): bump googleapis/release-please-action from 4 to 5 (#91) #71

Workflow file for this run

name: Release
on:
push:
branches: [master]
permissions:
contents: write
packages: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
- uses: googleapis/release-please-action@v5
id: release
with:
manifest-file: .release-please-manifest.json
config-file: release-please-config.json
token: ${{ steps.app-token.outputs.token }}
publish:
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: lts/*
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v6
with:
node-version: lts/*
registry-url: https://npm.pkg.github.com
scope: '@it4change'
- run: npm pkg set name='@it4change/eslint-config-it4c'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}