Skip to content

chore(deps): update googlecloudplatform/release-please-action action … #865

chore(deps): update googlecloudplatform/release-please-action action …

chore(deps): update googlecloudplatform/release-please-action action … #865

##############################################
# FILE GENERATED AUTOMATICALLY FROM TERRAFORM
# THIS FILE SHOULD NOT BE EDITED BY HAND
##############################################
on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
env:
HUSKY_SKIP_HOOKS: 1
HUSKY: 0
steps:
- uses: actions/checkout@v3.5.2
- name: Get package name
id: name
uses: notiz-dev/github-action-json-property@release
with:
path: 'package.json'
prop_path: 'name'
- uses: GoogleCloudPlatform/release-please-action@v3.7.12
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: ${{steps.name.outputs.prop}}
- uses: actions/checkout@v3.5.2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3.6.0
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm run build:lib
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}