mirror of
https://github.com/wavetermdev/waveterm-docs.git
synced 2026-08-05 13:45:23 -07:00
Run Yarn Install once in action with frozen-lockfile (#6)
This commit is contained in:
@@ -23,9 +23,9 @@ jobs:
|
||||
with:
|
||||
node-version: ${{env.NODE_VERSION}}
|
||||
- name: Install yarn
|
||||
run: corepack enable && yarn install
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
run: |
|
||||
corepack enable
|
||||
yarn install --frozen-lockfile
|
||||
- name: Build website
|
||||
run: yarn build
|
||||
|
||||
|
||||
@@ -24,6 +24,6 @@ jobs:
|
||||
- name: Install yarn
|
||||
run: |
|
||||
corepack enable
|
||||
yarn install
|
||||
yarn install --frozen-lockfile
|
||||
- name: Test build website
|
||||
run: yarn build
|
||||
|
||||
Reference in New Issue
Block a user