Skip to content

Commit b7e47fa

Browse files
committed
chore(ci): fix publish workflow
1 parent affcdbf commit b7e47fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ jobs:
9999
uses: actions/setup-node@v3
100100
with:
101101
node-version: ${{ matrix.node-version }}
102+
- name: Install Yarn
103+
run: npm install -g yarn
104+
- name: Set Yarn version
105+
run: yarn policies set-version v1.22.19
102106
- name: Get yarn cache directory path
103107
id: yarn-cache-dir-path
104108
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
@@ -110,10 +114,6 @@ jobs:
110114
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
111115
restore-keys: |
112116
${{ runner.os }}-yarn-
113-
- name: Install Yarn
114-
run: npm install -g yarn
115-
- name: Set Yarn version
116-
run: yarn policies set-version v1.22.19
117117
- name: Copy yarn.lock file
118118
run: cp yarn.lock packages/cubejs-docker
119119
- name: Yarn install

0 commit comments

Comments
 (0)