mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-10 11:11:25 +00:00
ci(test): check Yarn version in the check-package
job
This commit is contained in:
parent
2410eb04f5
commit
9cd2f93b62
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -17,8 +17,8 @@ jobs:
|
||||
with:
|
||||
node-version: latest
|
||||
|
||||
- name: Update Yarn
|
||||
run: corepack enable && yarn set version stable
|
||||
- name: Enable Yarn
|
||||
run: corepack enable yarn
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v3.3.2
|
||||
|
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
@ -20,6 +20,9 @@ jobs:
|
||||
- name: Enable Yarn
|
||||
run: corepack enable yarn
|
||||
|
||||
- name: Check Yarn Version
|
||||
run: yarn set version stable && git diff --exit-code HEAD
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v3.3.2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user