Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: include component in puppeteer tag #9303

Merged
merged 1 commit into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/publish.yml
Expand Up @@ -21,29 +21,22 @@ jobs:
run: npm run build
- name: Set npm registry
run: npm config set registry 'https://wombat-dressing-room.appspot.com/'
- name: Publish Puppeteer
if: ${{ startsWith(github.ref_name, 'v') }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
run: |
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
npm publish --workspace packages/puppeteer
- name: Publish packages
if: ${{ !startsWith(github.ref_name, 'v') }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_RELEASE}}
run: |
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
npm publish --workspace packages/${GITHUB_REF_NAME%-v*}
- name: Deprecate old versions
if: ${{ startsWith(github.ref_name, 'puppeteer-v') }}
run: |
version_range=$(node tools/get_deprecated_version_range.js)
npm deprecate puppeteer@"$version_range" "$version_range is no longer supported"
npm deprecate puppeteer-core@"$version_range" "$version_range is no longer supported"
docker-publish:
name: Publish Docker image
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref_name, 'v') }}
if: ${{ startsWith(github.ref_name, 'puppeteer-v') }}
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -73,7 +66,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
latest
type=semver,pattern={{version}}
type=match,pattern=puppeteer-v(\d+\.\d+\.\d+),group=1
- name: Build and push the Docker image
uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94
with:
Expand Down
1 change: 0 additions & 1 deletion release-please-config.json
Expand Up @@ -2,7 +2,6 @@
"last-release-sha": "2e3719cd7fbab551e99625bfb6198183aa23e7f5",
"packages": {
"packages/puppeteer": {
"include-component-in-tag": false,
"component": "puppeteer"
},
"packages/puppeteer-core": {
Expand Down