Skip to content

Commit

Permalink
chore(ci): don't download chrome in bump-auxiliary-packages (#2391)
Browse files Browse the repository at this point in the history
* chore(ci): don't download chrome in bump-auxiliary-packages

* Add puppeteer variable to publish-auxiliary-packages.yml
  • Loading branch information
nirinchev authored Mar 4, 2025
1 parent f3bee86 commit fdd0fd1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/bump-auxiliary-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ on:
permissions:
contents: none # We use the github app to checkout and create PR

env:
PUPPETEER_SKIP_DOWNLOAD: "true"

description: |
This workflow increases the versions of the auxiliary (i.e. non-mongosh) packages and creates a PR
as a first step for a release. Use this workflow when you don't want to do a full mongosh release,
but do need to pick up unreleased changes in one of the @mongosh/* packages.
jobs:
update_generated_files:
name: Bump packages
Expand Down Expand Up @@ -41,8 +49,6 @@ jobs:
- name: Bump packages
run: |
npm run bump-auxiliary
git add .
git commit --no-allow-empty -m "chore(release): bump packages for auxiliary release" || true
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish-auxiliary-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ on:
push:
branches:
- main
env:
PUPPETEER_SKIP_DOWNLOAD: "true"

permissions:
contents: none # We use the github app to checkout and push tags

description: |
This is a workflow that publishes any unpublished auxiliary packages to NPM. It is triggered
when we merge the PR created by the bump-auxiliary-packages workflow.
jobs:
publish:
if: |
Expand Down

0 comments on commit fdd0fd1

Please sign in to comment.