fix: github action build too slow (#779)

* fix: github action build too slow

* fix: github action build too slow

* Revert "fix: github action build too slow"

This reverts commit bc23ee5ed1b103275704899c6cda629daf4ce1be.

* fix: patch vite-plugin-svg-icons. add cache for frequently calling fast-glob.sync in function compilerIcons

* update push-check.yml

* update push-check.yml

* test svg

* test svg

* try silent mode

* log to file

* revert some files
This commit is contained in:
Gene 2024-09-02 09:42:59 +08:00 committed by GitHub
parent 516c35ff54
commit 3eb2ecd039
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 4 deletions

View File

@ -12,12 +12,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install pnpm
run: npm i -g pnpm
- name: Install dependencies
run: pnpm i
@ -33,4 +34,10 @@ jobs:
- name: Run ESLint
run: npx eslint ${{steps.get_changed_files.outputs.all_changed_files}}
- name: Run Build
run: pnpm run build:plugin && pnpm run build:alpha
run: pnpm run build:plugin && pnpm run build:alpha > build-alpha.log 2>&1
- name: Upload build logs
uses: actions/upload-artifact@v4
with:
name: build-alpha-log
path: build-alpha.log