File tree 2 files changed +12
-4
lines changed
.github/actions/ci-common-setup 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,18 @@ runs:
18
18
- name : Get Node.js version
19
19
id : node_version
20
20
run : |
21
- echo "::set-output name= version:: $(node -v)"
21
+ echo "version= $(node -v)" >>$GITHUB_OUTPUT
22
22
shell : bash
23
23
24
+ - name : Get package manager type and version from `package.json`
25
+ id : pkg_manager_value
26
+ uses : ActionsTools/read-json-action@main
27
+ with :
28
+ file_path : ' ./package.json'
29
+ prop_path : ' packageManager'
30
+
24
31
- name : Install pnpm
25
- run : npm install -g pnpm@^9
32
+ run : npm install -g ${{ steps.pkg_manager_value.outputs.value }}
26
33
shell : bash
27
34
28
35
- name : Restore possibly cached dependencies
Original file line number Diff line number Diff line change 4
4
"author" : " Dor Shtaif <dorshtaif@gmail.com>" ,
5
5
"license" : " MIT" ,
6
6
"description" : " The magic of JavaScript async iterators in React ⛓️ 🧬 🔃" ,
7
- "type " : " module " ,
7
+ "keywords " : [] ,
8
8
"homepage" : " https://github.com/shtaif/react-async-iterators" ,
9
9
"bugs" : " https://github.com/shtaif/react-async-iterators/issues" ,
10
10
"repository" : " github:shtaif/react-async-iterators" ,
11
+ "type" : " module" ,
12
+ "packageManager" : " pnpm@9.15.0" ,
11
13
"sideEffects" : false ,
12
- "keywords" : [],
13
14
"main" : " ./dist/cjs/index.js" ,
14
15
"module" : " ./dist/esm/index.js" ,
15
16
"types" : " ./dist/esm/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments