forked from puppeteer/puppeteer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: automate publishing on new Git tags (puppeteer#6536)
Issues: puppeteer#6482
- Loading branch information
1 parent
5e5fed1
commit 8e9970d
Showing
4 changed files
with
35 additions
and
11 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,30 @@ | ||
name: publish-on-tag | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Build | ||
run: npm run build | ||
- name: Publish puppeteer | ||
env: | ||
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}} | ||
run: | | ||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}' | ||
npm publish | ||
- name: Publish puppeteer-core | ||
env: | ||
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER_CORE}} | ||
run: | | ||
utils/prepare_puppeteer_core.js | ||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
registry=https://wombat-dressing-room.appspot.com/ | ||
access=public |
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
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