chore: add node version in gor yaml files (#10128)

This commit is contained in:
Ashwin Bhatkal
2026-01-28 12:48:11 +05:30
committed by GitHub
parent 9b4fd46d2c
commit 08f261b0f0
2 changed files with 12 additions and 4 deletions

View File

@@ -3,8 +3,8 @@ name: gor-signoz-community
on: on:
push: push:
tags: tags:
- 'v[0-9]+.[0-9]+.[0-9]+' - "v[0-9]+.[0-9]+.[0-9]+"
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+' - "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
permissions: permissions:
contents: write contents: write
@@ -21,6 +21,10 @@ jobs:
shell: bash shell: bash
run: | run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: node-setup
uses: actions/setup-node@v5
with:
node-version: "22"
- name: build-frontend - name: build-frontend
run: make js-build run: make js-build
- name: upload-frontend-artifact - name: upload-frontend-artifact
@@ -89,7 +93,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser-pro distribution: goreleaser-pro
version: '~> v2' version: "~> v2"
args: release --config ${{ env.CONFIG_PATH }} --clean --split args: release --config ${{ env.CONFIG_PATH }} --clean --split
workdir: . workdir: .
env: env:
@@ -147,7 +151,7 @@ jobs:
if: steps.cache-linux.outputs.cache-hit == 'true' && steps.cache-darwin.outputs.cache-hit == 'true' # only run if caches hit if: steps.cache-linux.outputs.cache-hit == 'true' && steps.cache-darwin.outputs.cache-hit == 'true' # only run if caches hit
with: with:
distribution: goreleaser-pro distribution: goreleaser-pro
version: '~> v2' version: "~> v2"
args: continue --merge args: continue --merge
workdir: . workdir: .
env: env:

View File

@@ -37,6 +37,10 @@ jobs:
echo 'APPCUES_APP_ID="${{ secrets.APPCUES_APP_ID }}"' >> .env echo 'APPCUES_APP_ID="${{ secrets.APPCUES_APP_ID }}"' >> .env
echo 'PYLON_IDENTITY_SECRET="${{ secrets.PYLON_IDENTITY_SECRET }}"' >> .env echo 'PYLON_IDENTITY_SECRET="${{ secrets.PYLON_IDENTITY_SECRET }}"' >> .env
echo 'DOCS_BASE_URL="https://signoz.io"' >> .env echo 'DOCS_BASE_URL="https://signoz.io"' >> .env
- name: node-setup
uses: actions/setup-node@v5
with:
node-version: "22"
- name: build-frontend - name: build-frontend
run: make js-build run: make js-build
- name: upload-frontend-artifact - name: upload-frontend-artifact