This commit is contained in:
parent
d0feb118c9
commit
cd02dc2053
4 changed files with 12 additions and 5540 deletions
|
@ -13,27 +13,29 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup Bun
|
||||||
run: |
|
uses: oven-sh/setup-bun@v2
|
||||||
corepack install
|
with:
|
||||||
pnpm config set store-dir /tmp/pnpm-store
|
bun-version-file: 'package.json'
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
id: dependencies-cache
|
id: dependencies-cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /tmp/pnpm-store
|
path: ~/.bun/install/cache
|
||||||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-bun-
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: pnpm i
|
run: bun install
|
||||||
|
|
||||||
- name: Build Dist (Staging)
|
- name: Build Dist (Staging)
|
||||||
run: pnpm dist -m staging
|
run: bun dist -m staging
|
||||||
if: env.GITHUB_REF_NAME == 'master'
|
if: env.GITHUB_REF_NAME == 'master'
|
||||||
|
|
||||||
- name: Build Dist
|
- name: Build Dist
|
||||||
run: pnpm dist
|
run: bun dist
|
||||||
if: env.GITHUB_REF_NAME != 'master'
|
if: env.GITHUB_REF_NAME != 'master'
|
||||||
|
|
||||||
- name: Depoly to Preview
|
- name: Depoly to Preview
|
||||||
|
|
BIN
bun.lockb
Executable file
BIN
bun.lockb
Executable file
Binary file not shown.
|
@ -42,5 +42,5 @@
|
||||||
"solid-js": "^1.8.18",
|
"solid-js": "^1.8.18",
|
||||||
"solid-styled": "^0.11.1"
|
"solid-styled": "^0.11.1"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903"
|
"packageManager": "bun@1.1.21"
|
||||||
}
|
}
|
||||||
|
|
5530
pnpm-lock.yaml
5530
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue