Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit fd6c5db

Browse files
committed
feat(ci): setup yarn with corepack
1 parent b1be69d commit fd6c5db

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release-package.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ jobs:
1111
with:
1212
node-version: 22
1313
registry-url: https://npm.pkg.github.com/
14-
- run: yarn install
15-
- run: yarn build
16-
- run: yarn publish
14+
- name: Install dependencies
15+
run: |
16+
corepack prepare --activate
17+
yarn install
18+
- name: Build
19+
run: yarn build
20+
- name: Publish
21+
run: yarn publish
1722
env:
1823
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
1924
permissions:

0 commit comments

Comments
 (0)