File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,20 +11,15 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v3
14- - name : Get yarn cache directory path
15- id : yarn-cache-dir-path
16- run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
17- - uses : actions/cache@v3
14+ - uses : pnpm/action-setup@v2
15+ - uses : actions/setup-node@v3
1816 with :
19- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
20- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
21- restore-keys : |
22- ${{ runner.os }}-yarn-
23-
24- - run : yarn install --frozen-lockfile
25- - run : yarn lint
26- - run : yarn build
27- - run : yarn package
17+ node-version-file : ' package.json'
18+ cache : ' pnpm'
19+ - run : pnpm install --frozen-lockfile
20+ - run : pnpm lint
21+ - run : pnpm build
22+ - run : pnpm package
2823 - uses : actions/upload-artifact@v3
2924 with :
3025 name : dist
Original file line number Diff line number Diff line change 33 "version" : " 1.2.2" ,
44 "description" : " Set up your GitHub Actions workflow with a specific version of chromium" ,
55 "main" : " dist/index.js" ,
6+ "packageManager" :
" [email protected] " ,
7+ "engines" : {
8+ "node" : " 20.6.1"
9+ },
610 "dependencies" : {
711 "@actions/core" : " ^1.10.0" ,
812 "@actions/exec" : " ^1.1.1" ,
13+ "@actions/http-client" : " ^2.1.1" ,
914 "@actions/io" : " ^1.1.3" ,
1015 "@actions/tool-cache" : " ^1.7.1"
1116 },
You can’t perform that action at this time.
0 commit comments