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

Commit a033692

Browse files
committed
fix(ci): issue with wrong yarn version
1 parent 0b38559 commit a033692

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/release-package.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@ on:
44
tags:
55
- 'v*'
66
jobs:
7-
publish-github-registry:
7+
publish-package:
8+
name: Publish package
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/checkout@v4
11-
- run: corepack enable
12-
- uses: actions/setup-node@v4
12+
- name: Set up Node
13+
uses: actions/setup-node@v4
1314
with:
1415
node-version: 22
1516
registry-url: 'https://registry.npmjs.org'
16-
- run: yarn install
17-
- run: yarn push
17+
- name: Set up yarn with corepack
18+
run: |
19+
corepack enable &&
20+
corepack install
21+
- name: Install dependencies
22+
run: yarn install --frozen-lockfile
23+
- name: Publish package
24+
run: yarn push
1825
env:
1926
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)