Skip to content

Commit

Permalink
chore: bump setup-node, remove actions/cache in favour of
Browse files Browse the repository at this point in the history
  • Loading branch information
doamatto committed Jan 20, 2025
1 parent cc78d67 commit 0277807
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/browserslist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,11 @@ jobs:
# Setup for commiting using built-in token. See https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v1
- name: "Install Node 22 and cache NPM packages"
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm install
- name: Update Browserslist database and create PR if applies
uses: c2corg/[email protected]
Expand Down

0 comments on commit 0277807

Please sign in to comment.