Skip to content

Commit

Permalink
chore(ci): don't download chrome for cron tasks (#2278)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev authored Nov 24, 2024
1 parent 059d5c6 commit 0886abf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 43 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cron-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
update_generated_files:
name: Update automatically generated files
runs-on: ubuntu-latest
env:
npm_config_loglevel: verbose
npm_config_foreground_scripts: "true"
PUPPETEER_SKIP_DOWNLOAD: "true"
steps:
- uses: actions/checkout@v4
with:
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/update-node-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Update Node.js versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# don't checkout a detatched HEAD
ref: ${{ github.head_ref }}
Expand All @@ -22,25 +22,24 @@ jobs:

- name: Setup git
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "devtoolsbot@users.noreply.github.com"
git config --local user.name "devtoolsbot"
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
cache: "npm"

- name: Install npm@8.19.4
- name: Install npm@10
run: |
npm install -g npm@8.19.4
npm install -g npm@10
- name: Bump packages
run: |
npm run update-node-js-versions
npm run update-evergreen-config
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
with:
token: ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }}
Expand Down
43 changes: 8 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0886abf

Please sign in to comment.