This commit is contained in:
parent
a14a6de95c
commit
e83ca0b39f
@ -1,20 +1,8 @@
|
|||||||
name: Node.js CI
|
name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
Explore-Gitea-Actions:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
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
|
|
Loading…
Reference in New Issue
Block a user