Skip to content

Commit a504bb1

Browse files
chore: updated the publish workflow with corepack changes
1 parent 2e88657 commit a504bb1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/publish-node-sdk.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
13-
with:
14-
node-version: "20"
15-
registry-url: "https://registry.npmjs.org"
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
1616

17-
- name: Install pnpm
18-
run: npm install -g pnpm
17+
- name: Enable corepack
18+
run: corepack enable pnpm
1919

2020
- name: Install dependencies
21-
run: pnpm install
21+
run: pnpm install --frozen-lockfile
2222

23-
- name: Build
23+
- name: Run Build
2424
run: pnpm build
2525

2626
- name: Publish to npm

0 commit comments

Comments
 (0)