Skip to content

Commit

Permalink
Create github action to verify that the app builds
Browse files Browse the repository at this point in the history
  • Loading branch information
anirbanmu committed Mar 16, 2024
1 parent 7dfeb22 commit f0136ad
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build verification

on:
push:
branches:
- main
pull_request:

jobs:
container-image-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
push: false
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY src/ /src/src
COPY .prettierrc.yaml package.json rollup.config.mjs tsconfig.json package-lock.json server.ts /src/

RUN npm ci \
&& npm run build
&& npm run buildf

# Download runtime node_modules
FROM base-image AS runtime-node-modules
Expand Down

0 comments on commit f0136ad

Please sign in to comment.