mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-02 03:50:55 +00:00
ci: utilize Setup Yarn Berry Action (#217)
* ci: replace `yarn-install-action` with `setup-yarn-action` * ci: replace `corepack yarn` command with `yarn` command * ci: setup Yarn to stable version
This commit is contained in:
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -17,10 +17,12 @@ jobs:
|
||||
with:
|
||||
node-version: latest
|
||||
|
||||
- name: Install Dependencies
|
||||
uses: threeal/yarn-install-action@v2.0.0
|
||||
- name: Setup Yarn
|
||||
uses: threeal/setup-yarn-action@v2.0.0
|
||||
with:
|
||||
version: stable
|
||||
|
||||
- name: Build Package
|
||||
run: |
|
||||
corepack yarn build
|
||||
yarn build
|
||||
git diff --exit-code HEAD
|
||||
|
||||
Reference in New Issue
Block a user