Skip to content

Commit

Permalink
fix(build): 💚 Copy bunfig to root
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Jun 8, 2024
1 parent 2739c80 commit cedf94e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
- uses: oven-sh/setup-bun@v1

- 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
run: bun install --frozen-lockfile
Expand Down

0 comments on commit cedf94e

Please sign in to comment.