TangHuan cf156266cc
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1h16m4s
init222-113
2025-04-03 17:09:28 +08:00

29 lines
821 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: '14'
cache: "npm"
check-latest: true
# 缓存 Maven 依赖
- name: 安装依赖
run: npm ci
- name: 编译
run: npm run build