Skip to content

Commit

Permalink
Update cannon.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Nov 5, 2024
1 parent 00eb99f commit 73790b1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cannon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
node-version: "18"

# Setup npm cache separately
# Setup npm cache
- name: Cache npm dependencies
uses: actions/cache@v4
with:
Expand All @@ -44,7 +44,12 @@ jobs:
- name: Install npm dependencies
working-directory: packages/contracts-bedrock
run: |
npm ci
# First install to ensure package-lock.json exists
npm install
# Then run npm ci for consistent installs
if [ -f "package-lock.json" ]; then
npm ci
fi
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down

0 comments on commit 73790b1

Please sign in to comment.