From ba19126c7837453abb4afbb9dba796843417bf52 Mon Sep 17 00:00:00 2001 From: Ashley Huo Date: Mon, 11 Dec 2023 14:55:49 -0500 Subject: [PATCH] verify needs lint works --- .github/workflows/build-and-deploy.yml | 51 +++++++++++++------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index d2b8eed..7e8b9f7 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -3,7 +3,8 @@ name: Build-And-Deploy on: push: branches: - - "master" + - master + pull_request: jobs: docker: @@ -22,27 +23,27 @@ jobs: run: npm run generate-grammar-prod - name: Prebuild - build app run: npm run build - - name: Prebuild - fetch datasets - run: npm run fetch-datasets - - name: Prebuild - cleanup - run: rm -rf node_modules - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - platforms: linux/amd64,linux/arm64 - push: true - tags: kuzudb/explorer:latest - build-args: | - SKIP_GRAMMAR=true - SKIP_BUILD_APP=true - SKIP_DATASETS=true +# - name: Prebuild - fetch datasets +# run: npm run fetch-datasets +# - name: Prebuild - cleanup +# run: rm -rf node_modules +# - name: Set up QEMU +# uses: docker/setup-qemu-action@v3 +# - name: Set up Docker Buildx +# uses: docker/setup-buildx-action@v3 +# - name: Login to Docker Hub +# uses: docker/login-action@v3 +# with: +# username: ${{ secrets.DOCKERHUB_USERNAME }} +# password: ${{ secrets.DOCKERHUB_TOKEN }} +# - name: Build and push +# uses: docker/build-push-action@v5 +# with: +# context: . +# platforms: linux/amd64,linux/arm64 +# push: true +# tags: kuzudb/explorer:latest +# build-args: | +# SKIP_GRAMMAR=true +# SKIP_BUILD_APP=true +# SKIP_DATASETS=true