Skip to content

Commit 0886abf

Browse files
authored
chore(ci): don't download chrome for cron tasks (#2278)
1 parent 059d5c6 commit 0886abf

File tree

3 files changed

+19
-43
lines changed

3 files changed

+19
-43
lines changed

.github/workflows/cron-tasks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
update_generated_files:
1313
name: Update automatically generated files
1414
runs-on: ubuntu-latest
15+
env:
16+
npm_config_loglevel: verbose
17+
npm_config_foreground_scripts: "true"
18+
PUPPETEER_SKIP_DOWNLOAD: "true"
1519
steps:
1620
- uses: actions/checkout@v4
1721
with:

.github/workflows/update-node-js.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Update Node.js versions
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
# don't checkout a detatched HEAD
1717
ref: ${{ github.head_ref }}
@@ -22,25 +22,24 @@ jobs:
2222

2323
- name: Setup git
2424
run: |
25-
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
26-
git config --local user.name "github-actions[bot]"
25+
git config --local user.email "devtoolsbot@users.noreply.github.com"
26+
git config --local user.name "devtoolsbot"
2727
28-
- uses: actions/setup-node@v2
28+
- uses: actions/setup-node@v4
2929
with:
30-
node-version: 16.x
30+
node-version: 20.x
3131
cache: "npm"
3232

33-
- name: Install npm@8.19.4
33+
- name: Install npm@10
3434
run: |
35-
npm install -g npm@8.19.4
35+
npm install -g npm@10
3636
3737
- name: Bump packages
3838
run: |
3939
npm run update-node-js-versions
4040
npm run update-evergreen-config
4141
4242
- name: Create Pull Request
43-
id: cpr
4443
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
4544
with:
4645
token: ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }}

package-lock.json

Lines changed: 8 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)