mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 08:28:19 +01:00
fix(build): 💚 Copy bunfig to root
This commit is contained in:
parent
2739c8043a
commit
cedf94e2d6
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
|
|
@ -40,7 +40,10 @@ jobs:
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v1
|
||||||
|
|
||||||
- name: Create bunfig.toml with NPM token (GitHub Secrets)
|
- name: Create bunfig.toml with NPM token (GitHub Secrets)
|
||||||
run: cd ${{ github.event.inputs.package }} && echo -e "[install]\nregistry = { url = \"https://registry.npmjs.org/\", token = \"${{ secrets.NPM_TOKEN }}\" }" > bunfig.toml
|
run: echo -e "[install]\nregistry = { url = \"https://registry.npmjs.org/\", token = \"${{ secrets.NPM_TOKEN }}\" }" > bunfig.toml
|
||||||
|
|
||||||
|
- name: Copy bunfig.toml to package directory
|
||||||
|
run: cp bunfig.toml ${{ github.event.inputs.package }}/bunfig.toml
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue