TangHuan ad6dcbb959
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 7s
init222-11
2025-04-03 17:02:16 +08:00

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