Skip to content

Commit

Permalink
All platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Sep 27, 2024
1 parent da37204 commit 71d9434
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "0 0 1 * *"

jobs:
update:
update-on-macos:
if: github.event_name != 'schedule' || github.repository == 'sindresorhus/globals'
runs-on: macos-latest
steps:
Expand All @@ -18,9 +18,50 @@ jobs:
node-version: latest
- run: npm install
- run: npm run update
- uses: actions/upload-artifact@v4
with:
name: data
path: data

update-on-windows:
if: github.event_name != 'schedule' || github.repository == 'sindresorhus/globals'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
check-latest: true
node-version: latest
- run: npm install
- uses: actions/download-artifact@v4
with:
name: data
path: data
- run: npm run update
- uses: actions/upload-artifact@v4
with:
name: data
path: data

update-on-linux:
if: github.event_name != 'schedule' || github.repository == 'sindresorhus/globals'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
check-latest: true
node-version: latest
- run: npm install
- uses: actions/download-artifact@v4
with:
name: data
path: data
- run: npm run update
- uses: peter-evans/create-pull-request@v7
with:
commit-message: Update globals
branch: automated-update
branch-suffix: timestamp
title: Update globals

0 comments on commit 71d9434

Please sign in to comment.