From 2962aacea484fd49d22560257708f37f00e9a83a Mon Sep 17 00:00:00 2001 From: David Sanders Date: Tue, 26 Sep 2023 17:12:19 -0700 Subject: [PATCH] ci: use yarn in workflows (#1570) --- .github/workflows/canary.yml | 6 +++--- .github/workflows/docs.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 0b3297ae..f7dc9512 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -24,13 +24,13 @@ jobs: - name: Replace electron with electron-nightly run: | cd electron-quick-start - npm uninstall --save-dev electron - npm install --save-dev electron-nightly@latest + yarn remove electron + yarn add --dev electron-nightly@latest shell: bash - name: Install Electron Packager run: | cd electron-quick-start - npm install --save-dev electron-packager@electron/electron-packager + yarn add --dev electron-packager@electron/electron-packager shell: bash - name: Package run: | diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9ea7c5c1..1cdfc063 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,8 +21,8 @@ jobs: - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # tag: v3.8.1 with: node-version: lts/* - - run: npm install --engine-strict --no-lockfile - - run: npm run docs:build + - run: yarn install --frozen-lockfile + - run: yarn run docs:build - uses: dsanders11/github-action-gh-pages@6837fa66857ff3234e3ea5bcf709c86767ae3ce1 with: defaultBranch: main