Merge pull request 'fix: 使用 Alpine 容器镜像解决 checkout action 找不到 node 的问题' (#18) from build/actions into develop
Reviewed-on: http://8.161.227.145:3000/XEngineers/CamTalk/pulls/18
This commit was merged in pull request #18.
This commit is contained in:
@@ -9,10 +9,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: aliyun
|
runs-on: aliyun
|
||||||
|
container: golang:1.23-alpine
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js (for checkout action)
|
||||||
|
run: apk add --no-cache nodejs
|
||||||
|
|
||||||
- uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
|
- uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
|
||||||
|
|
||||||
- name: Download dependencies
|
- name: Download dependencies
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: aliyun
|
runs-on: aliyun
|
||||||
|
container: node:22-alpine
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
health:
|
health:
|
||||||
runs-on: aliyun
|
runs-on: aliyun
|
||||||
|
container: node:22-alpine
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 Triggered by ${{ gitea.event_name }} event"
|
- run: echo "🎉 Triggered by ${{ gitea.event_name }} event"
|
||||||
- run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}"
|
- run: echo "🌿 Branch: ${{ gitea.ref }}, Repo: ${{ gitea.repository }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user