ci: test for engines package.json

This commit is contained in:
Jozef Steinhübl 2025-07-10 20:55:00 +02:00
parent b7ad40d98c
commit 5379c4250b
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -90,21 +90,27 @@ jobs:
- windows-latest
file:
- name: package.json (bun@1.1.0)
- name: package.json (packageManager bun@1.1.0)
file: package.json
run: |
echo "$(jq '. += {"packageManager": "bun@1.1.0"}' package.json)" > package.json
- name: /foo/package.json (bun@1.1.0)
- name: /foo/package.json (packageManager bun@1.1.0)
file: /foo/package.json
run: |
mkdir -p /foo
echo "$(jq '. += {"packageManager": "bun@1.1.0"}' package.json)" > /foo/package.json
- name: package.json (yarn@bun@1.1.0)
- name: package.json (packageManager yarn@bun@1.1.0)
file: package.json
run: |
echo "$(jq '. += {"packageManager": "yarn@bun@1.1.0"}' package.json)" > package.json
- name: package.json (engines bun@1.1.0)
file: package.json
run: |
echo "$(jq '.engines = {"bun": "1.1.0"}' package.json)" > package.json
- name: .tool-versions (bun 1.1.0)
file: .tool-versions
run: echo "bun 1.1.0" > .tool-versions