Skip to content

Commit

Permalink
Fix deploy smart contract workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Oct 11, 2023
1 parent a3c7dd8 commit df52e2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/massa-web3-deploy-test-smartContract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: "18"
cache: "npm"
cache-dependency-path: ./contracts/package-lock.json
cache-dependency-path: ./packages/massa-web3/examples/smartContracts/contracts/package-lock.json

- name: Install dependencies
run: |
Expand All @@ -29,7 +29,7 @@ jobs:

- name: Build workspace
run: |
npm ci
npm run build
working-directory: ./

- name: Deploy
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/massa-web3-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v1

- name: Install dependencies
run: |
npm ci
working-directory: ./

- name: Build workspace
run: |
npm run build
working-directory: ./

- name: Execute unit tests
run: |
npm ci
Expand Down

0 comments on commit df52e2f

Please sign in to comment.