Skip to content

Commit 59e094a

Browse files
committed
chore: fix release-desktop.yml error
1 parent 53e6c96 commit 59e094a

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/release-desktop.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,16 @@ jobs:
1010
frontend-build:
1111
runs-on: ubuntu-latest
1212
steps:
13+
# Checks-out
1314
- uses: actions/checkout@v2
14-
# yarn cache
15-
- name: Get yarn cache directory path
16-
id: yarn-cache-dir-path
17-
run: echo "::set-output name=dir::$(yarn cache dir)"
18-
- uses: actions/cache@v2
19-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
15+
# use node.js
16+
- uses: actions/setup-node@v2
2017
with:
21-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
22-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
23-
restore-keys: |
24-
${{ runner.os }}-yarn-
25-
# yarn build
26-
- uses: borales/[email protected]
18+
node-version: '14'
2719
- run: |
2820
cd ./web
29-
yarn install
30-
yarn run build
21+
npm install
22+
npm run build
3123
# upload
3224
- name: Upload frontend build
3325
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)