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