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: jobs:
frontend-lint: frontend-lint:
runs-on: ubuntu-latest 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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '18' node-version: '24'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: bugulma/frontend/yarn.lock cache-dependency-path: bugulma/frontend/yarn.lock
- name: Install dependencies - name: Install dependencies
@ -71,7 +71,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.21' go-version: '1.23'
- name: Download dependencies - name: Download dependencies
working-directory: bugulma/backend working-directory: bugulma/backend
run: go mod download run: go mod download
@ -120,7 +120,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '18' node-version: '24'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: bugulma/frontend/yarn.lock cache-dependency-path: bugulma/frontend/yarn.lock
- name: Install dependencies - name: Install dependencies

View File

@ -41,7 +41,7 @@ spec:
fieldRef: fieldRef:
fieldPath: metadata.name fieldPath: metadata.name
- name: GITEA_RUNNER_LABELS - 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 - name: DOCKER_HOST
value: "tcp://localhost:2375" value: "tcp://localhost:2375"
volumeMounts: volumeMounts: