Skip to content

Commit

Permalink
remove setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuong Truong committed Sep 28, 2023
1 parent d6b5170 commit 0c4697a
Show file tree
Hide file tree
Showing 5 changed files with 2,029 additions and 2,041 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: 'npm run build:docker'

- name: 'Install the dependencies and compile smart contracts'
run: 'npm run setup'
run: 'npm install && npm run compile'

- name: 'Test smart contracts'
run: 'npm run test'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Defaults to the user or organization that owns the workflow file
scope: '@waveshq'
- name: Install dependencies and compile smart contracts
run: npm run setup
run: npm ci && npm run compile
- name: Build the package
run: npm run build
- run: npm config set "//registry.npmjs.org/:_authToken" "\${NODE_AUTH_TOKEN}" --location=project
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ WORKDIR /staterelayer
COPY package.json hardhat.config.ts .solhint.json tsconfig.json tsconfig.build.json ./
COPY contracts ./contracts

RUN npm run setup
RUN npm install && npm run compile

CMD npx hardhat --config ./hardhat.config.ts node
Loading

0 comments on commit 0c4697a

Please sign in to comment.