Skip to content

Commit 02349c2

Browse files
authored
Update web-client-deploy-development.yml
workflows fix
1 parent 5eceed0 commit 02349c2

1 file changed

Lines changed: 24 additions & 7 deletions

File tree

.github/workflows/web-client-deploy-development.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,28 @@ jobs:
1515
- uses: actions/setup-node@v4
1616
with:
1717
node-version: '20'
18-
cache: 'yarn'
18+
# cache: 'yarn'
19+
20+
# fix from here
21+
- name: Cache Yarn
22+
uses: actions/cache@v4
23+
with:
24+
path: |
25+
.yarn/cache
26+
.yarn/releases
27+
.yarn/plugins
28+
.pnp.*
29+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-yarn-
32+
33+
- name: build
34+
run: |
35+
yarn set version 3.8.1
36+
yarn install --immutable --immutable-cache
37+
yarn web codegen
38+
yarn web build
39+
# fix to here
1940

2041
# - name: build
2142
# run: |
@@ -24,12 +45,8 @@ jobs:
2445
# yarn install --immutable --immutable-cache
2546
# yarn web codegen
2647
# yarn web build
27-
- name: build
28-
run: |
29-
yarn set version 3.8.1
30-
yarn install --immutable --immutable-cache
31-
yarn web codegen
32-
yarn web build
48+
49+
3350

3451
- name: scp
3552
uses: appleboy/scp-action@v0.1.7

0 commit comments

Comments
 (0)