Skip to content

Commit

Permalink
(ci): fix pnpm audit alert and pnpm version for actions (#217)
Browse files Browse the repository at this point in the history
Closes #216
  • Loading branch information
DefiCake authored Jun 21, 2024
1 parent 623dc28 commit 26cfeac
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 58 deletions.
6 changes: 6 additions & 0 deletions .changeset/happy-worms-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@fuel-bridge/solidity-contracts': patch
'@fuel-bridge/test-utils': patch
---

Fix CI on pnpm audit
2 changes: 2 additions & 0 deletions .github/workflows/pr-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

- uses: ./.github/actions/setup-rust
- uses: FuelLabs/github-actions/setups/node@master
with:
pnpm-version: 9.0.6
- uses: FuelLabs/github-actions/setups/npm@master
with:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
pnpm-version: 9.0.6
- run: pnpm audit --prod --audit-level high

check-packages-changed:
Expand Down Expand Up @@ -47,6 +49,8 @@ jobs:
# need this to get full git-history/clone in order to build changelogs and check changesets
fetch-depth: 0
- uses: FuelLabs/github-actions/setups/node@master
with:
pnpm-version: 9.0.6
- run: pnpm changeset:check

validate:
Expand All @@ -55,6 +59,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
pnpm-version: 9.0.6
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
# need this to get full git-history/clone in order to build changelogs and check changesets
fetch-depth: 0
- uses: FuelLabs/github-actions/setups/node@master
with:
pnpm-version: 9.0.6
- uses: FuelLabs/github-actions/setups/npm@master
with:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
},
"pnpm": {
"overrides": {
"braces": ">=3.0.3"
"braces": ">=3.0.3",
"ws@<7.5.10": "7.5.10"
}
}
}
2 changes: 1 addition & 1 deletion packages/integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/mocha": "^9.1.1",
"chai": "^4.3.6",
"dotenv": "^16.0.3",
"ethers": "6.11.0",
"ethers": "6.13.1",
"fuels": "0.89.1",
"mocha": "^10.0.0",
"ts-node": "^10.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/solidity-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"chai": "^4.3.7",
"cors": "2.8.5",
"dotenv": "^16.0.3",
"ethers": "6.11.0",
"ethers": "6.13.1",
"express": "^4.18.2",
"hardhat": "^2.20.1",
"hardhat-deploy": "^0.11.44",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"peerDependencies": {
"fuels": "0.89.1",
"ethers": "6.11.0"
"ethers": "6.13.1"
},
"devDependencies": {
"@fuel-bridge/fungible-token": "workspace:*",
Expand Down
92 changes: 38 additions & 54 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 26cfeac

Please sign in to comment.