Skip to content

Commit

Permalink
feat: update Dockerfiles and workflow yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Nov 28, 2023
1 parent 6a9054b commit 4dc2131
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cli.build+publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
run: yarn cli lint
- name: Build package
run: yarn cli build
- name: Build workspace dependency
run: yarn vrf build
- name: Extract version from package.json
uses: sergeysova/jq-action@v2
id: packageJsonVersion
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core.test+build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: yarn core install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: build dependency workspaces
- name: Build workspace dependency
run: yarn vrf build & yarn contracts build
- name: Run lint
run: yarn core lint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vrf.contracts.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
scope: "@bisonai"
always-auth: true
- run: yarn contracts install
- run: yarn vrf build
- run: yarn contracts prettier-solidity-check
- run: yarn contracts solhint
- run: yarn contracts eslint
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/vrf.integration.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Build
run: yarn contracts build

- name: Build workspace dependency
run: yarn vrf build

- name: Run node and deploy
run: npx hardhat node & yarn contracts deploy:localhost

Expand Down
2 changes: 0 additions & 2 deletions api/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ WORKDIR /app

COPY package.json .

COPY yarn.lock .

COPY tsconfig.json .

COPY src src
Expand Down
2 changes: 0 additions & 2 deletions cli/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ WORKDIR /app

COPY package.json .

COPY yarn.lock .

COPY tsconfig.json .

COPY src src
Expand Down
2 changes: 0 additions & 2 deletions core/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ WORKDIR /app

COPY package.json .

COPY yarn.lock .

COPY tsconfig.json .

COPY src src
Expand Down
2 changes: 0 additions & 2 deletions delegator/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ WORKDIR /app

COPY package.json .

COPY yarn.lock .

COPY tsconfig.json .

COPY src src
Expand Down
2 changes: 0 additions & 2 deletions fetcher/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ WORKDIR /app

COPY package.json .

COPY yarn.lock .

COPY tsconfig.json .

COPY src src
Expand Down

0 comments on commit 4dc2131

Please sign in to comment.