Skip to content

Commit

Permalink
Upgrade GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed May 27, 2024
1 parent d2e2497 commit 3ad3ea2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9

- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: pnpm-deps-${{ hashFiles('pnpm-lock.yaml') }}
Expand Down

0 comments on commit 3ad3ea2

Please sign in to comment.