mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
fix: Add Docker images to runner labels and fix frontend-lint condition
This commit is contained in:
parent
26098e4d04
commit
3bfdf37436
@ -18,7 +18,7 @@ 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
|
||||
|
||||
@ -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:18-bullseye,ubuntu-22.04:docker://node:18-bullseye,ubuntu-20.04:docker://node:18-bullseye"
|
||||
- name: DOCKER_HOST
|
||||
value: "tcp://localhost:2375"
|
||||
volumeMounts:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user