diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 2e69d9e5c4..9cb15912ad 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -10,11 +10,14 @@ jobs: dev-hash: ${{ steps.create-dev-hash.outputs.DEV_HASH }} steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 # A 1 is required before the timestamp # as lerna will fail when there is a leading 0 # See https://github.com/lerna/lerna/issues/2840 - name: Install Dependencies - run: npm ci + run: pnpm install shell: bash - id: create-dev-hash name: Create Dev Hash diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e9f0db784f..776eee1d53 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -13,11 +13,14 @@ jobs: nightly-hash: ${{ steps.create-nightly-hash.outputs.NIGHTLY_HASH }} steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 # A 1 is required before the timestamp # as lerna will fail when there is a leading 0 # See https://github.com/lerna/lerna/issues/2840 - name: Install Dependencies - run: npm ci + run: pnpm install shell: bash - id: create-nightly-hash name: Create Nightly Hash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2210bbbf76..21f70ad1ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,6 +54,9 @@ jobs: with: token: ${{ secrets.IONITRON_TOKEN }} fetch-depth: 0 + - uses: pnpm/action-setup@v2 + with: + version: 8 - name: Configure Identity # Commits from github-actions do not # trigger other GitHub Actions. As a result, @@ -74,7 +77,7 @@ jobs: # so we do that here. - name: Bump Package Lock run: | - lerna exec "npm install --package-lock-only" + pnpm install --lockfile-only git add . git commit -m "chore(): update package lock files" git push