Skip to content

Commit

Permalink
ci(github): add workflow release-please.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 30, 2022
1 parent 2979261 commit d355e97
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: release-please
on:
push:
branches:
- master

jobs:
release-please:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Read package name
run: echo ::set-output name=NAME::$(jq -r .name package.json)
id: package

- name: Release
uses: GoogleCloudPlatform/release-please-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: ${{ steps.package.outputs.NAME }}

0 comments on commit d355e97

Please sign in to comment.