mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Fix Build Helper for Yarn Modern (#646)
I am removing the Yarn cache from our Build Helper. The actions/node-setup cache option is not compatible with Yarn Modern. With Yarn Modern, the `yarn install` command that sets up our project-specific yarn config will also install all the module dependencies, meaning we don't need a separate call to resolve these. Altogether, even without the cache, it only takes 21s for Yarn Modern to install and resolve dependencies.
This commit is contained in:
parent
9a825761da
commit
67544c9a0f
3
.github/workflows/build-helper.yml
vendored
3
.github/workflows/build-helper.yml
vendored
@ -45,7 +45,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{env.NODE_VERSION}}
|
||||
cache: "yarn"
|
||||
- name: Install yarn
|
||||
run: |
|
||||
corepack enable
|
||||
@ -55,8 +54,6 @@ jobs:
|
||||
run: |
|
||||
VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
|
||||
- name: Install Yarn Dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
- name: Build ${{ matrix.platform }}/${{ matrix.arch }}
|
||||
run: scripthaus run ${{ matrix.scripthaus }}
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user