Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
with:
check-latest: true
node-version: latest
- run: npm install
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next line runs npm install puppeteer --save-dev instead

- run: |
npm install puppeteer --save-dev
npm run update
Expand All @@ -40,7 +39,6 @@ jobs:
with:
check-latest: true
node-version: latest
- run: npm install
- uses: actions/download-artifact@v4
with:
name: data
Expand All @@ -65,7 +63,6 @@ jobs:
with:
check-latest: true
node-version: latest
- run: npm install
- uses: actions/download-artifact@v4
with:
name: data
Expand All @@ -75,9 +72,10 @@ jobs:
- run: |
npm install puppeteer --save-dev
npm run update
- run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
- uses: peter-evans/create-pull-request@v7
with:
commit-message: Update globals
branch: automated-update
commit-message: Update globals (${{ env.CURRENT_DATE }})
branch: automated-update-${{ env.CURRENT_DATE }}
branch-suffix: timestamp
title: Update globals
title: Update globals (${{ env.CURRENT_DATE }})
Loading