Compare commits

...

2 Commits

Author SHA1 Message Date
Damir Mukimov
98b5423d3b
chore: Update Node.js to 24 LTS and Go to 1.23
Some checks failed
CI/CD Pipeline / frontend-lint (push) Failing after 1s
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / backend-lint (push) Failing after 0s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped
2025-12-24 21:29:39 +01:00
Damir Mukimov
3bfdf37436
fix: Add Docker images to runner labels and fix frontend-lint condition 2025-12-24 21:29:08 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -18,13 +18,13 @@ on:
jobs:
frontend-lint:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || contains(github.event.head_commit.modified, 'bugulma/frontend') || contains(github.event.head_commit.added, 'bugulma/frontend')
if: gitea.event_name == 'pull_request' || contains(gitea.event.head_commit.modified, 'bugulma/frontend') || contains(gitea.event.head_commit.added, 'bugulma/frontend') || (gitea.event_name == 'push' && gitea.ref == 'refs/heads/master')
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '24'
cache: 'yarn'
cache-dependency-path: bugulma/frontend/yarn.lock
- name: Install dependencies
@ -71,7 +71,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.23'
- name: Download dependencies
working-directory: bugulma/backend
run: go mod download
@ -120,7 +120,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '24'
cache: 'yarn'
cache-dependency-path: bugulma/frontend/yarn.lock
- name: Install dependencies

View File

@ -41,7 +41,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: GITEA_RUNNER_LABELS
value: "ubuntu-latest,ubuntu-22.04,ubuntu-20.04"
value: "ubuntu-latest:docker://node:24-bookworm,ubuntu-22.04:docker://node:24-bookworm,ubuntu-20.04:docker://node:24-bookworm"
- name: DOCKER_HOST
value: "tcp://localhost:2375"
volumeMounts: