File tree Expand file tree Collapse file tree 4 files changed +1184
-1125
lines changed Expand file tree Collapse file tree 4 files changed +1184
-1125
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,15 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- 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
18
16
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
28
23
- uses : actions/upload-artifact@v3
29
24
with :
30
25
name : dist
Original file line number Diff line number Diff line change 3
3
"version" : " 1.2.2" ,
4
4
"description" : " Set up your GitHub Actions workflow with a specific version of chromium" ,
5
5
"main" : " dist/index.js" ,
6
+ "packageManager" :
" [email protected] " ,
7
+ "engines" : {
8
+ "node" : " 20.6.1"
9
+ },
6
10
"dependencies" : {
7
11
"@actions/core" : " ^1.10.0" ,
8
12
"@actions/exec" : " ^1.1.1" ,
13
+ "@actions/http-client" : " ^2.1.1" ,
9
14
"@actions/io" : " ^1.1.3" ,
10
15
"@actions/tool-cache" : " ^1.7.1"
11
16
},
You can’t perform that action at this time.
0 commit comments