mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
Compare commits
No commits in common. "98b5423d3bbc791719aaa8ff0ab4f4e42310422d" and "26098e4d045e9564d4854a479de5705fc440881b" have entirely different histories.
98b5423d3b
...
26098e4d04
@ -18,13 +18,13 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
frontend-lint:
|
frontend-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
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')
|
if: github.event_name == 'pull_request' || contains(github.event.head_commit.modified, 'bugulma/frontend') || contains(github.event.head_commit.added, 'bugulma/frontend')
|
||||||
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: '24'
|
node-version: '18'
|
||||||
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.23'
|
go-version: '1.21'
|
||||||
- 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: '24'
|
node-version: '18'
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
cache-dependency-path: bugulma/frontend/yarn.lock
|
cache-dependency-path: bugulma/frontend/yarn.lock
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@ -41,7 +41,7 @@ spec:
|
|||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
- name: GITEA_RUNNER_LABELS
|
- name: GITEA_RUNNER_LABELS
|
||||||
value: "ubuntu-latest:docker://node:24-bookworm,ubuntu-22.04:docker://node:24-bookworm,ubuntu-20.04:docker://node:24-bookworm"
|
value: "ubuntu-latest,ubuntu-22.04,ubuntu-20.04"
|
||||||
- name: DOCKER_HOST
|
- name: DOCKER_HOST
|
||||||
value: "tcp://localhost:2375"
|
value: "tcp://localhost:2375"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user