Skip to content

Commit 6c5c3a1

Browse files
pin dependancies and replace yarn with pnpm (#2672)
* pin version of all of the npm dependancies * remove yarn and add pnpm * replace yarn with pnpm * Added to README * Change GitHub Actions to use pnpm * Change yarn to pnpm in readme files * Fixed GitHub Actions * Installed pnpm for GitHub Actions * Another GitHub Action fix * Another attempted fix * Another attempted fix * GitHub Action fixes * FIx Slither CI * Fix Slither CI * Fix danger CI Action * Remove danger CI * Added Core team as reviewers of Solidity files --------- Co-authored-by: Nicholas Addison <nick@addisonbrown.com.au>
1 parent ca702bf commit 6c5c3a1

12 files changed

Lines changed: 13501 additions & 10634 deletions

File tree

.github/COEDOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Require reviews from Solidity reviewers for .sol files
2+
3+
.sol @OriginProtocol/core

.github/workflows/abi.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,28 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19+
- name: Install pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: 10
23+
run_install: false
24+
1925
- name: Use Node.js
2026
uses: actions/setup-node@v4
2127
with:
2228
node-version: "20.x"
23-
cache: "yarn"
24-
cache-dependency-path: contracts/yarn.lock
29+
cache: "pnpm"
30+
cache-dependency-path: contracts/pnpm-lock.yaml
31+
32+
- name: Configure Git to use HTTPS for GitHub
33+
run: git config --global url."https://github.com/".insteadOf "git@github.com:"
2534

26-
- run: yarn install --frozen-lockfile
35+
- name: Install deps
2736
working-directory: ./contracts
37+
run: pnpm install --frozen-lockfile
2838

2939
- name: "Generate ABI files"
30-
run: (yarn run abi:generate) && (yarn run abi:dist)
40+
run: (pnpm run abi:generate) && (pnpm run abi:dist)
3141
env:
3242
CONTRACT_SIZE: true
3343
working-directory: ./contracts

.github/workflows/danger.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)