Skip to content

Commit fdd0fd1

Browse files
authored
chore(ci): don't download chrome in bump-auxiliary-packages (#2391)
* chore(ci): don't download chrome in bump-auxiliary-packages * Add puppeteer variable to publish-auxiliary-packages.yml
1 parent f3bee86 commit fdd0fd1

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/bump-auxiliary-packages.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ on:
55
permissions:
66
contents: none # We use the github app to checkout and create PR
77

8+
env:
9+
PUPPETEER_SKIP_DOWNLOAD: "true"
10+
11+
description: |
12+
This workflow increases the versions of the auxiliary (i.e. non-mongosh) packages and creates a PR
13+
as a first step for a release. Use this workflow when you don't want to do a full mongosh release,
14+
but do need to pick up unreleased changes in one of the @mongosh/* packages.
15+
816
jobs:
917
update_generated_files:
1018
name: Bump packages
@@ -41,8 +49,6 @@ jobs:
4149
- name: Bump packages
4250
run: |
4351
npm run bump-auxiliary
44-
git add .
45-
git commit --no-allow-empty -m "chore(release): bump packages for auxiliary release" || true
4652
4753
- name: Create Pull Request
4854
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5

.github/workflows/publish-auxiliary-packages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ on:
88
push:
99
branches:
1010
- main
11+
env:
12+
PUPPETEER_SKIP_DOWNLOAD: "true"
1113

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

17+
description: |
18+
This is a workflow that publishes any unpublished auxiliary packages to NPM. It is triggered
19+
when we merge the PR created by the bump-auxiliary-packages workflow.
20+
1521
jobs:
1622
publish:
1723
if: |

0 commit comments

Comments
 (0)