Skip to content

Commit

Permalink
fix(build): 💚 Make CI properly get secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed May 14, 2024
1 parent 736728d commit 5b3bea2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
environment: NPM Deploy
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1

- name: Create bunfig.toml with NPM token (GitHub Secrets)
run: 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: Install dependencies
run: bun install --frozen-lockfile --production
Expand Down

0 comments on commit 5b3bea2

Please sign in to comment.