diff --git a/.gitea/workflows/build-dev.yaml b/.gitea/workflows/build-dev.yaml index 62edcd1..fa648f1 100644 --- a/.gitea/workflows/build-dev.yaml +++ b/.gitea/workflows/build-dev.yaml @@ -7,8 +7,6 @@ on: workflow_dispatch: env: - GO_VERSION: "1.25" - NODE_VERSION: "22" BINARY_NAME: remoterig jobs: @@ -18,15 +16,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: ${{ env.GO_VERSION }} - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: ${{ env.NODE_VERSION }} + # The go-react image ships Go + Node, so no setup-go/setup-node: + # those download tool-cache binaries that don't run on this runner. + - name: Toolchain versions + run: | + go version + node --version - name: Build React frontend run: | diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index e326203..4709915 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,10 +11,6 @@ jobs: runs-on: go-react steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: npm - run: npm ci - run: npm run lint - run: npx tsc --noEmit @@ -24,10 +20,6 @@ jobs: runs-on: go-react steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: npm - run: npm ci - run: npm test @@ -36,10 +28,6 @@ jobs: runs-on: go-react steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: npm - run: npm ci - run: npm run build - name: Upload build artifacts