Skip to content

Commit

Permalink
chore: use Node 20 in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sdnts committed Jul 2, 2024
1 parent 5843ce0 commit 1c012f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn types
Expand All @@ -22,9 +23,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn test
Expand All @@ -38,9 +40,10 @@ jobs:
environment: Production
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn wrangler deploy
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn types
Expand All @@ -23,9 +24,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn test

0 comments on commit 1c012f4

Please sign in to comment.