Skip to content

Commit

Permalink
Merge pull request BewlyBewly#94 from MengNianxiaoyao/dev
Browse files Browse the repository at this point in the history
chore: 优化构建流程,加快构建速度
  • Loading branch information
hakadao authored Jan 1, 2024
2 parents f17ba84 + 3e4305d commit 49068b9
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,16 @@ jobs:
run: pnpm run lint

build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [18.17.0]
os: [ubuntu-latest]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
node-version: 18.17.0
cache: pnpm

- name: Install Dependencies
- name: Install
run: pnpm install

- name: Build
Expand Down

0 comments on commit 49068b9

Please sign in to comment.