Skip to content

Commit

Permalink
Update Actions for node 20 (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman authored Oct 18, 2024
1 parent d235cb6 commit 3f7ca15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
BASE_PATH: /webgpu-samples
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
uses: actions/checkout@v4
with:
persist-credentials: false

- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
BASE_PATH: /webgpu-samples
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
uses: actions/checkout@v4
with:
persist-credentials: false

- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit 3f7ca15

Please sign in to comment.