Skip to content

Commit

Permalink
Add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed May 7, 2024
1 parent 0939b02 commit a92e13c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn build

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"twap:run-migrations": "nx run twap:run-migrations",
"twap:generate-migrations": "nx run twap:generate-migrations",
"serve": "nx serve",
"build": "nx build",
"build": "nx run-many --all --target=build",
"create-app": "nx g app --framework=fastify --docker",
"docker-build:affected": "nx affected -t docker-build --prod --parallel --maxParallel=3 --skip-nx-cache --skip-nx-cache",
"compose:up": "yarn run docker-build:affected && docker-compose up"
Expand Down

0 comments on commit a92e13c

Please # to comment.