mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-21 14:08:24 +02:00
Merge branch 'main' into new-lambda-hotdog-bus
This commit is contained in:
commit
ef1386c94a
6 changed files with 435 additions and 130 deletions
10
.github/workflows/format.yml
vendored
10
.github/workflows/format.yml
vendored
|
@ -17,16 +17,14 @@ jobs:
|
|||
- name: 📥 Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🛠️ Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
- name: 🛠️ Setup Bun
|
||||
uses: ./
|
||||
|
||||
- name: 📦 Install Dependencies
|
||||
run: npm install
|
||||
run: bun install
|
||||
|
||||
- name: 🧹 Format
|
||||
run: npm run format
|
||||
run: bun run format
|
||||
|
||||
- name: 💾 Commit
|
||||
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
25
.github/workflows/test.yml
vendored
25
.github/workflows/test.yml
vendored
|
@ -54,10 +54,11 @@ jobs:
|
|||
- latest
|
||||
- canary
|
||||
- "1.1.0"
|
||||
- "1.x"
|
||||
- "1"
|
||||
- "> 1.0.0"
|
||||
- "< 2"
|
||||
# https://github.com/oven-sh/setup-bun/issues/37
|
||||
# - "1.x"
|
||||
# - "1"
|
||||
# - "> 1.0.0"
|
||||
# - "< 2"
|
||||
# Disable <sha> support for now. This is because Github Artifacts
|
||||
# expire after 90 days, and we don't have another source of truth yet.
|
||||
# - "822a00c4d508b54f650933a73ca5f4a3af9a7983" # 1.0.0 commit
|
||||
|
@ -89,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)
|
||||
file: /foo/package.json
|
||||
- name: foo/package.json (packageManager bun@1.1.0)
|
||||
file: foo/package.json
|
||||
run: |
|
||||
echo "$(jq '. += {"packageManager": "bun@1.1.0"}' package.json)" > /foo/package.json
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue