Skip to content

Commit a72c9c0

Browse files
committed
chore: maybe fix release pipeline
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 03cebc7 commit a72c9c0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ jobs:
5151
uses: actions/setup-node@v4
5252
with:
5353
node-version: ${{ env.NODE_ACTIVE_LTS }}
54-
- name: enable yarn # needed in some tests
55-
run: |-
56-
corepack enable
57-
yarn --version
5854
- name: Checkout code
5955
# see https://github.com/actions/checkout
6056
uses: actions/checkout@v4
@@ -97,16 +93,20 @@ jobs:
9793
env:
9894
NPMJS_RELEASE_TAG: ${{ github.event.inputs.prerelease == 'true' && 'unstable-prerelease' || 'latest' }}
9995
steps:
100-
- name: Checkout code
101-
# see https://github.com/actions/checkout
102-
uses: actions/checkout@v4
103-
with:
104-
ref: ${{ needs.bump.outputs.version }}
10596
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
10697
# see https://github.com/actions/setup-node
10798
uses: actions/setup-node@v4
10899
with:
109100
node-version: ${{ env.NODE_ACTIVE_LTS }}
101+
- name: enable yarn # needed in some tests
102+
run: |-
103+
corepack enable
104+
yarn --version
105+
- name: Checkout code
106+
# see https://github.com/actions/checkout
107+
uses: actions/checkout@v4
108+
with:
109+
ref: ${{ needs.bump.outputs.version }}
110110
- name: install build tools
111111
run: npm i --ignore-scripts
112112
# no explicit npm build. if a build is required, it should be configured as prepublish/prepublishOnly script of npm.

0 commit comments

Comments
 (0)