-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4568 from NomicFoundation/feature/3521-replace-pk…
…g-manager-yarn-with-pnpm Replace yarn with pnpm
- Loading branch information
Showing
99 changed files
with
26,772 additions
and
25,029 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,28 +6,32 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
test-without-yarn-lock: | ||
name: Test without yarn.lock | ||
test-without-pnpm-lock-yaml: | ||
name: Test without pnpm-lock.yaml | ||
strategy: | ||
matrix: | ||
system: ["ubuntu-latest", "windows-latest"] | ||
runs-on: ${{ matrix.system }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- uses: actions/checkout@v2 | ||
- name: Delete yarn.lock | ||
run: "rm yarn.lock" | ||
cache: "pnpm" | ||
- name: Delete pnpm-lock.yaml | ||
run: "rm pnpm-lock.yaml" | ||
- name: Install | ||
run: yarn | ||
run: pnpm install --no-frozen-lockfile | ||
- name: List dependencies | ||
run: yarn list | ||
run: pnpm list -r --depth 2 | ||
- name: Run tests | ||
env: | ||
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true | ||
FORCE_COLOR: 3 | ||
run: yarn test || (echo "===== Retry =====" && yarn test) | ||
run: pnpm test || (echo "===== Retry =====" && pnpm test) | ||
- name: Notify failures | ||
if: failure() | ||
uses: slackapi/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.