diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index acd5ac3..5d96453 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,9 +1,20 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +name: Node.js CI + on: [push] jobs: - Explore-Gitea-Actions: - runs-on: TestRuner + build: steps: - - run: echo " 🚀The job was automatically triggered by a ${{ gitea.event_name }} event." \ No newline at end of file + - name: Checkout code + uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '14' # 确保这是与你的项目兼容的Node.js版本 + + - name: Install dependencies + run: yarn install + + - name: Build Docusaurus website + run: yarn build \ No newline at end of file