diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5ef0e380d..31fff7235 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -47,8 +47,7 @@ jobs: # Error: File was unable to be removed Error: EACCES: permission denied, rmdir # https://github.com/actions/checkout/issues/211 - name: chown workdir - run: - sudo chown -R $USER:$USER $GITHUB_WORKSPACE + run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -59,11 +58,12 @@ jobs: run: | make down/go make up/go - + - name: "[frontend] build" working-directory: ./frontend run: | make + cp -r dist/ /home/isucon/webapp/public/ # bench - name: "[bench] Get deps" diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 2b56d2b12..a1da5fd76 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -59,7 +59,9 @@ jobs: - name: "[frontend] build" working-directory: ./frontend - run: make + run: | + make + cp -r dist/ /home/isucon/webapp/public/ # bench - name: "[bench] Get deps" diff --git a/.github/workflows/perl.yml b/.github/workflows/perl.yml index bc97da48c..582c5de1d 100644 --- a/.github/workflows/perl.yml +++ b/.github/workflows/perl.yml @@ -43,8 +43,7 @@ jobs: # Error: File was unable to be removed Error: EACCES: permission denied, rmdir # https://github.com/actions/checkout/issues/211 - name: chown workdir - run: - sudo chown -R $USER:$USER $GITHUB_WORKSPACE + run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE # containers - name: "setup containers" @@ -55,7 +54,9 @@ jobs: - name: "[frontend] build" working-directory: ./frontend - run: make + run: | + make + cp -r dist/ /home/isucon/webapp/public/ # bench - name: "[bench] Get deps" @@ -82,4 +83,3 @@ jobs: run: | go clean -testcache go test -p=1 -v ./... - diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8df4f57cb..e8f4d755e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -65,6 +65,7 @@ jobs: working-directory: ./frontend run: | make + cp -r dist/ /home/isucon/webapp/public/ # bench - name: "[bench] Get deps" diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 94838ef73..96cf0f15a 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.21.1' + go-version: "1.21.1" id: go - uses: actions/setup-node@v4 with: @@ -43,7 +43,9 @@ jobs: - name: "[frontend] build" working-directory: ./frontend - run: make + run: | + make + cp -r dist/ /home/isucon/webapp/public/ - name: "[bench] Get deps" working-directory: ./bench diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ccee9a9b0..c81d035cf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.21.1' + go-version: "1.21.1" - uses: actions/setup-node@v4 with: node-version: 20 @@ -42,7 +42,9 @@ jobs: - name: "[frontend] build" working-directory: ./frontend - run: make + run: | + make + cp -r dist/ /home/isucon/webapp/public/ - name: "[bench] Get deps" working-directory: ./bench