mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 16:38:20 +01:00
fix(build): 💚 Make CI properly get secrets
This commit is contained in:
parent
736728d829
commit
5b3bea2983
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
|
|
@ -12,6 +12,7 @@ jobs:
|
|||
# Build job
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
environment: NPM Deploy
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -19,7 +20,7 @@ jobs:
|
|||
- 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue