Skip to content

Commit

Permalink
make node deps only for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnash committed Sep 28, 2023
1 parent c2ada90 commit 51d6eb5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup_deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ runs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "yarn"

- name: Install project dependencies
shell: bash
run: yarn
run: yarn --production

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changesets-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "yarn"

- name: Install project dependencies
run: yarn
run: yarn --production

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "yarn"

- name: Install project dependencies
run: yarn
run: yarn --production

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "yarn"

- name: Install project dependencies
run: yarn
run: yarn --production

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "yarn"

- name: Install project dependencies
run: yarn
run: yarn --production

- name: Run prettier
run: yarn run prettier:check
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,21 @@
"@zoralabs/protocol-rewards": "1.1.2",
"ds-test": "https://github.com/dapphub/ds-test#cd98eff28324bfac652e63a239a60632a761790b",
"forge-std": "https://github.com/foundry-rs/forge-std#705263c95892a906d7af65f0f73ce8a4a0c80b80",
"solmate": "^6.1.0"
"solmate": "^6.1.0",
"es-main": "^1.2.0",
"glob": "^10.2.2",
"solady": "^0.0.123",
"@changesets/cli": "^2.26.1",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@turnkey/api-key-stamper": "^0.1.1",
"@turnkey/http": "^1.2.0",
"@turnkey/viem": "^0.2.4",
"@turnkey/webauthn-stamper": "^0.1.0",
"@types/node": "^20.1.2",
"@wagmi/cli": "^1.0.1",
"abitype": "^0.8.7",
"es-main": "^1.2.0",
"glob": "^10.2.2",
"listr2": "^6.4.2",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solady": "^0.0.123",
"tsup": "^7.2.0",
"tsx": "^3.13.0",
"typescript": "^5.0.4",
Expand Down

0 comments on commit 51d6eb5

Please sign in to comment.