From 29a0860caa05439da2414cc62eed2def0ccffeb7 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Tue, 29 Nov 2022 22:24:16 -0800 Subject: [PATCH] trying to fix nodejs build of frontend. --- .github/workflows/docker-build.yaml | 30 +++++++++++++---------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index cc8928b5..cecc0bd4 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -74,15 +74,13 @@ jobs: uses: actions/checkout@v2 - name: "Populate frontend version information" run: "cd webapp/frontend && ./git.version.sh" - - name: "Generate frontend" - uses: addnab/docker-run-action@v3 + - name: "Install Node" + uses: actions/setup-node@v3 with: - image: node:lts - options: -v ${{ github.workspace }}:/work - run: | - cd /work - make binary-frontend && echo "print contents of /work/dist" && ls -alt /work/dist - + node-version: 16 + - name: "Generate frontend" + run: | + make binary-frontend && echo "print contents of ./dist" && ls -alt ./dist - name: Set up QEMU uses: docker/setup-qemu-action@v2 with: @@ -135,15 +133,13 @@ jobs: - name: "Populate frontend version information" run: "cd webapp/frontend && ./git.version.sh" - name: "Generate frontend & version information" - uses: addnab/docker-run-action@v3 + - name: "Install Node" + uses: actions/setup-node@v3 with: - image: node:lts - options: -v ${{ github.workspace }}:/work - run: | - cd /work - make binary-frontend && echo "print contents of /work/dist" && ls -alt /work/dist - - + node-version: 16 + - name: "Generate frontend" + run: | + make binary-frontend && echo "print contents of ./dist" && ls -alt ./dist - name: Set up QEMU uses: docker/setup-qemu-action@v2 with: @@ -181,4 +177,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} # cache-from: type=gha -# cache-to: type=gha,mode=max \ No newline at end of file +# cache-to: type=gha,mode=max