From a700b249a0272b8d24e51ff440887ada76f279cb Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sun, 29 Oct 2023 02:38:48 +0200 Subject: [PATCH 1/2] Rename go.yml Github Action to build.yaml (as preparation for making it more generic) --- .github/workflows/{go.yml => build.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{go.yml => build.yaml} (100%) diff --git a/.github/workflows/go.yml b/.github/workflows/build.yaml similarity index 100% rename from .github/workflows/go.yml rename to .github/workflows/build.yaml From f2f20dbbd13b4e0148c0278b91c8ab3c3cec932c Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sun, 29 Oct 2023 02:45:35 +0200 Subject: [PATCH 2/2] Test 'npm install' for site/ in GitHub Action This helps to detect regressions causing this not to work anymore, such as the https://github.com/googlecodelabs/tools/issues/882 problem. --- .github/workflows/build.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7dbc649d8..05f7995dd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: Go +name: Build on: push: @@ -8,7 +8,7 @@ on: jobs: - build: + claat: runs-on: ubuntu-latest timeout-minutes: 5 steps: @@ -30,3 +30,14 @@ jobs: - name: Test working-directory: claat run: go test -v ./... + + + site: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + + - name: NPM Install + working-directory: site + run: npm install