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