File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
readium/navigator/src/main/assets/_scripts Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,22 @@ jobs:
46
46
defaults :
47
47
run :
48
48
working-directory : readium/navigator/src/main/assets/_scripts
49
- env :
50
- scripts : ${{ 'src/main/assets/_scripts' }}
51
49
steps :
52
50
- name : Checkout
53
51
uses : actions/checkout@v3
54
- - name : Setup Node.js
52
+ - name : Install pnpm
53
+ uses : pnpm/action-setup@v2
54
+ with :
55
+ package_json_file : readium/navigator/src/main/assets/_scripts/package.json
56
+ run_install : false
57
+ - name : Setup cache
55
58
uses : actions/setup-node@v3
56
59
with :
57
60
node-version : 20
58
- corepack-enable : true
61
+ cache : ' pnpm'
62
+ cache-dependency-path : readium/navigator/src/main/assets/_scripts/pnpm-lock.yaml
59
63
- name : Install dependencies
60
- run : pnpm install --frozen-lockfile
64
+ run : pnpm install
61
65
- name : Lint
62
66
run : pnpm run lint
63
67
- name : Check formatting
Original file line number Diff line number Diff line change 29
29
"hash.js" : " ^1.1.7" ,
30
30
"string.prototype.matchall" : " ^4.0.5"
31
31
},
32
- "packageManager" : " pnpm@8.8.0"
32
+ "packageManager" : " pnpm@8.8.0+sha256.d713a5750e41c3660d1e090608c7f607ad00d1dd5ba9b6552b5f390bf37924e9 "
33
33
}
You can’t perform that action at this time.
0 commit comments