TangHuan 3a12af6d90
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 11s
Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.gitea/workflows/dev.yaml
2025-04-07 13:55:15 +08:00

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