Skip to content

Commit

Permalink
feat: 前端ci
Browse files Browse the repository at this point in the history
  • Loading branch information
KouShenhai committed Jul 20, 2024
1 parent 91f6e3b commit dc08fc5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,18 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [ 18.x ]
steps:
- uses: actions/checkout@v4
- name: Use UI
uses: ./ui
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm cache clean --force
- run: npm install
- run: npm run dev
- run: npm run build
- name: Cache Clean
run: npm cache clean --force
- name: Install
run: npm install --prefix ./ui
- name: Run
run: npm run dev --prefix ./ui
- name: Build
run: npm run build --prefix ./ui

0 comments on commit dc08fc5

Please sign in to comment.