Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: true
version: 9
version: 10

- name: Update dist/index.js
run: pnpm run build
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
fail-fast: false
matrix:
pnpm:
- 9.15.5
- 9.15.9
os:
- ubuntu-latest
- macos-latest
- windows-latest

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Run the action
uses: ./
with:
version: 9.15.5
version: 9.15.9

- name: 'Test: which'
run: which pnpm; which pnpx
Expand Down Expand Up @@ -59,19 +59,19 @@ jobs:
fail-fast: false
matrix:
pnpm:
- 9.15.5
- 9.15.9
os:
- ubuntu-latest
- macos-latest
- windows-latest

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Run the action
uses: ./
with:
version: 9.15.5
version: 9.15.9
dest: ~/test/pnpm

- name: 'Test: which'
Expand Down Expand Up @@ -100,12 +100,12 @@ jobs:
- windows-latest

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Run the action
uses: ./
with:
version: 9.15.0
version: 9.15.9
standalone: true

- name: 'Test: which'
Expand Down Expand Up @@ -142,11 +142,11 @@ jobs:
- macos-latest
- windows-latest
version:
- '9.15.5'
- '9.15.9'
- '>=9.15.0'

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up package.json with devEngines.packageManager
run: echo '{"devEngines":{"packageManager":{"name":"pnpm","version":"${{ matrix.version }}","onFail":"download"}}}' > package.json
Expand All @@ -165,7 +165,7 @@ jobs:
actual="$(pnpm --version)"
echo "pnpm version: ${actual}"

if [ "${required}" = ">=9.15.0" ]; then
if [ "${required}" = ">=9.15.9" ]; then
min="9.15.0"
if [ "$(printf '%s\n' "${min}" "${actual}" | sort -V | head -n1)" != "${min}" ]; then
echo "Expected pnpm version >= ${min}, but got ${actual}"
Expand All @@ -188,7 +188,7 @@ jobs:
fail-fast: false
matrix:
pnpm:
- 9.15.5
- 9.15.9
os:
- ubuntu-latest
- macos-latest
Expand All @@ -205,12 +205,12 @@ jobs:
- yarn

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Run the action
uses: ./
with:
version: 9.15.5
version: 9.15.9
run_install: ${{ matrix.run_install.value }}

- name: 'Test: which'
Expand Down