Skip to content

Commit

Permalink
Merge pull request #132 from xmtp/rygine/fix-gh-action-setup-node
Browse files Browse the repository at this point in the history
Fix `actions/setup-node`
  • Loading branch information
rygine authored Nov 20, 2023
2 parents f092ebe + 7650585 commit 4250e5a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
Expand All @@ -24,10 +26,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
Expand All @@ -41,10 +45,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
Expand All @@ -62,10 +68,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Install Yarn v3
run: |
corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: "yarn"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.14.0
cache: "yarn"
Expand Down

0 comments on commit 4250e5a

Please sign in to comment.