@@ -26,38 +26,20 @@ jobs:
2626 git config --global user.name 'github-actions[bot]'
2727 git config --global user.email 'github-actions[bot]@users.noreply.github.com'
2828
29+ - name : Setup pnpm
30+ uses : pnpm/action-setup@v4
31+ with :
32+ cache : true
33+
2934 - name : Setup Node
3035 uses : actions/setup-node@v6
3136 with :
3237 node-version-file : package.json
3338 check-latest : true
34- # cache: yarn
35- package-manager-cache : false
39+ cache : pnpm
3640
37- - name : Setup yarn
38- run : |
39- corepack enable
40- yarn set version stable
41-
42- - name : Get yarn cachedir
43- id : yarn-cachedir
44- run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
45- - name : Cache yarn
46- uses : actions/cache@v5
47- with :
48- path : ${{ steps.yarn-cachedir.outputs.dir }}
49- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
50- restore-keys : |
51- ${{ runner.os }}-yarn-
52-
53- - name : Install dependencies (yarn)
54- run : yarn install
55-
56- - name : Cache apt
57- uses : awalsh128/cache-apt-pkgs-action@latest
58- with :
59- packages : clang-format-19 clang-tidy-19
60- execute_install_scripts : true
41+ # - name: Install dependencies (pnpm)
42+ # run: pnpm install
6143
6244 - name : Cpp Lint (clang-format & clang-tidy)
6345 uses : cpp-linter/cpp-linter-action@v2
@@ -71,11 +53,11 @@ jobs:
7153 continue-on-error : true
7254
7355 - name : ESLint (+vue +prettier +ts)
74- run : yarn run eslint --fix --ignore-pattern .gitignore
75- continue-on-error : true
56+ run : pnpx eslint --fix --ignore-pattern .gitignore
57+ continue-on-eror : true
7658
7759 - name : Prettier
78- run : yarn run prettier --write .
60+ run : pnpx prettier --write .
7961 continue-on-error : true
8062
8163 - name : Markdown Lint
8971 - name : Autocorrect Fix
9072 uses : huacnlee/autocorrect-action@v2
9173 with :
92- use_npm : true
9374 args : --fix
9475 continue-on-error : true
9576
0 commit comments