TangHuan 8215b9f821
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m8s
cicd
2025-04-07 14:32:22 +08:00

30 lines
794 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
vars:
ACTIONS_RUNNER_DEBUG: true
steps:
- name: 克隆代码
uses: https://git.pintantan.com/actions/checkout@v4
- uses: https://git.pintantan.com/actions/setup-node@v4
with:
# Version Spec of the version to use in SemVer notation.
# It also admits such aliases as lts/*, latest, nightly and canary builds
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
node-version: '20'
cache: "npm"
# 缓存 Maven 依赖
- name: 安装依赖
run: npm ci
- name: 编译
run: npm run build