mirror of
https://github.com/SigNoz/signoz.git
synced 2026-02-03 08:33:26 +00:00
chore: add node version in gor yaml files (#10128)
This commit is contained in:
12
.github/workflows/gor-signoz-community.yaml
vendored
12
.github/workflows/gor-signoz-community.yaml
vendored
@@ -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:
|
||||||
|
|||||||
4
.github/workflows/gor-signoz.yaml
vendored
4
.github/workflows/gor-signoz.yaml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user