Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/actions/ci-common-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ runs:
- name: Get Node.js version
id: node_version
run: |
echo "::set-output name=version::$(node -v)"
echo "version=$(node -v)" >>$GITHUB_OUTPUT
shell: bash

- name: Get package manager type and version from `package.json`
id: pkg_manager_value
uses: ActionsTools/read-json-action@main
with:
file_path: './package.json'
prop_path: 'packageManager'

- name: Install pnpm
run: npm install -g pnpm@^9
run: npm install -g ${{ steps.pkg_manager_value.outputs.value }}
shell: bash

- name: Restore possibly cached dependencies
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"author": "Dor Shtaif <dorshtaif@gmail.com>",
"license": "MIT",
"description": "The magic of JavaScript async iterators in React ⛓️ 🧬 🔃",
"type": "module",
"keywords": [],
"homepage": "https://github.com/shtaif/react-async-iterators",
"bugs": "https://github.com/shtaif/react-async-iterators/issues",
"repository": "github:shtaif/react-async-iterators",
"type": "module",
"packageManager": "pnpm@9.15.0",
"sideEffects": false,
"keywords": [],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
Expand Down
Loading