diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30b929c1..80f5092b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,6 +43,11 @@ jobs: with: go-version: '1.22' + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: '22' + - name: Login to Docker Hub uses: docker/login-action@v4 with: @@ -58,8 +63,9 @@ jobs: run: | docker buildx build db/ --no-cache -t flomp/wanderer-db:$VERSION -t flomp/wanderer-db:latest --platform=linux/amd64,linux/arm64 --push docker buildx build web/ --no-cache -t flomp/wanderer-web:$VERSION -t flomp/wanderer-web:latest --platform=linux/amd64,linux/arm64 --push - cd docs && npm ci && npm run build && cd .. - docker buildx build docs/ --no-cache -t flomp/wanderer-docs:$VERSION -t flomp/wanderer-docs:latest --platform=linux/amd64,linux/arm64 --push + npm --prefix docs ci + npm --prefix docs run build + docker buildx build ./docs --no-cache -t flomp/wanderer-docs:$VERSION -t flomp/wanderer-docs:latest --platform=linux/amd64,linux/arm64 --push release: needs: [publish, docker-build] @@ -86,4 +92,4 @@ jobs: tag_name: ${{ needs.publish.outputs.version }} body: ${{ steps.changelog.outputs.changelog }} draft: false - prerelease: false \ No newline at end of file + prerelease: false