MYDOC/.gitea/workflows/demo.yaml

18 lines
522 B
YAML
Raw Normal View History

2024-08-05 17:16:44 +08:00
name: Node.js CI
2024-08-05 17:06:07 +08:00
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
2024-07-31 10:55:19 +08:00
on: [push]
jobs:
2024-08-05 17:15:35 +08:00
build:
2024-08-05 17:07:51 +08:00
steps:
2024-08-05 17:18:27 +08:00
- name: Check out repository code
uses: actions/checkout@v3
2024-08-05 17:32:22 +08:00
- name: Use gitea Node.js
2024-08-05 17:30:50 +08:00
uses: https://gitea.com/actions/setup-node@v4
2024-08-05 17:19:47 +08:00
with:
node-version: '14' # 确保这是与你的项目兼容的Node.js版本
- name: Install dependencies
run: yarn install
- name: Build Docusaurus website
run: yarn build
2024-08-05 17:16:44 +08:00