Skip to content

Commit

Permalink
nnable corepack before setting up node
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcheng committed Apr 1, 2024
1 parent a29d8c3 commit 732253b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down
3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
nodeLinker: node-modules

npmScopes:
buf:
npmRegistryServer: https://buf.build/gen/npm/v1
npmRegistryServer: 'https://buf.build/gen/npm/v1'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"trailingComma": "all",
"useTabs": false
},
"packageManager": "yarn@4.0.1"
"packageManager": "yarn@4.1.1"
}

0 comments on commit 732253b

Please sign in to comment.