trying to fix nodejs build of frontend.
This commit is contained in:
@@ -74,15 +74,13 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "Populate frontend version information"
|
- name: "Populate frontend version information"
|
||||||
run: "cd webapp/frontend && ./git.version.sh"
|
run: "cd webapp/frontend && ./git.version.sh"
|
||||||
- name: "Generate frontend"
|
- name: "Install Node"
|
||||||
uses: addnab/docker-run-action@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
image: node:lts
|
node-version: 16
|
||||||
options: -v ${{ github.workspace }}:/work
|
- name: "Generate frontend"
|
||||||
run: |
|
run: |
|
||||||
cd /work
|
make binary-frontend && echo "print contents of ./dist" && ls -alt ./dist
|
||||||
make binary-frontend && echo "print contents of /work/dist" && ls -alt /work/dist
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -135,15 +133,13 @@ jobs:
|
|||||||
- name: "Populate frontend version information"
|
- name: "Populate frontend version information"
|
||||||
run: "cd webapp/frontend && ./git.version.sh"
|
run: "cd webapp/frontend && ./git.version.sh"
|
||||||
- name: "Generate frontend & version information"
|
- name: "Generate frontend & version information"
|
||||||
uses: addnab/docker-run-action@v3
|
- name: "Install Node"
|
||||||
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
image: node:lts
|
node-version: 16
|
||||||
options: -v ${{ github.workspace }}:/work
|
- name: "Generate frontend"
|
||||||
run: |
|
run: |
|
||||||
cd /work
|
make binary-frontend && echo "print contents of ./dist" && ls -alt ./dist
|
||||||
make binary-frontend && echo "print contents of /work/dist" && ls -alt /work/dist
|
|
||||||
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -181,4 +177,4 @@ jobs:
|
|||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
# cache-from: type=gha
|
# cache-from: type=gha
|
||||||
# cache-to: type=gha,mode=max
|
# cache-to: type=gha,mode=max
|
||||||
|
|||||||
Reference in New Issue
Block a user