Skip to content

Commit

Permalink
build: use manifest releaser for release please (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jul 8, 2022
1 parent 23e54cd commit c54d9bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 71 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/release-cli.yaml

This file was deleted.

31 changes: 2 additions & 29 deletions .github/workflows/release.yaml
Expand Up @@ -4,37 +4,10 @@ on:
- master
name: release-please
jobs:
release-please-pr:
runs-on: ubuntu-latest
steps:
- id: release-pr
uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: protobufjs
command: release-pr
release-please-release:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: tag-release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: protobufjs
command: github-release
- uses: actions/checkout@v2
if: ${{ steps.tag-release.outputs.release_created }}
- uses: actions/setup-node@v1
if: ${{ steps.tag-release.outputs.release_created }}
with:
node-version: 14
registry-url: 'https://wombat-dressing-room.appspot.com/'
- name: publish
if: ${{ steps.tag-release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npm install
npm publish
package-name: release-please-action
1 change: 1 addition & 0 deletions .release-please-manifest.json
@@ -0,0 +1 @@
{".":"6.0.0","cli":"0.1.0"}
7 changes: 7 additions & 0 deletions release-please-config.json
@@ -0,0 +1,7 @@
{
"bootstrap-sha": "6fc37d9ea3502cdc08ef988494c041aacd0f7e7f",
"packages": {
"cli": {},
".": {}
}
}

0 comments on commit c54d9bc

Please sign in to comment.