Skip to content

Commit a68bd31

Browse files
Enable proper yarn version
1 parent fc8e5d8 commit a68bd31

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
- name: 📦 Checkout
2121
uses: actions/checkout@v6
2222

23+
- name: 🧰 Enable Corepack
24+
run: |
25+
corepack enable
26+
corepack prepare [email protected] --activate
27+
yarn --version
28+
2329
- name: 🧰 Setup Node
2430
uses: actions/setup-node@v6
2531
with:
@@ -31,14 +37,11 @@ jobs:
3137
- name: 🏷 Get the version from tag
3238
run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
3339

34-
- name: 🧰 Enable Corepack
35-
run: corepack enable
36-
3740
- name: 🔍 Install dependencies
3841
run: yarn install --immutable
3942

4043
- name: 🏷️ Set version
41-
run: npm version $GIT_TAG
44+
run: npm version $GIT_TAG --no-git-tag-version
4245

4346
- name: 📦 Create tarball
4447
run: npm pack

0 commit comments

Comments
 (0)