-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: prepare initial publication of cli (#1752)
* feat: prepare initial publication of cli * build: try to fix build * test: try to make node4 ci work * test: run all ci tasks at once * fix: bring package.json @types/node back Co-authored-by: Alexander Fenster <fenster@google.com>
- Loading branch information
1 parent
2cdbba3
commit 64811d5
Showing
18 changed files
with
457 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
on: | ||
push: | ||
branches: | ||
- 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-cli | ||
command: release-pr | ||
path: cli | ||
release-please-release: | ||
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-cli | ||
command: github-release | ||
path: cli | ||
- 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_CLI_TOKEN}} | ||
run: | | ||
npm install | ||
npm publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.