Skip to content

Commit

Permalink
Updating to publish internally in Github
Browse files Browse the repository at this point in the history
  • Loading branch information
y3fers0n committed Jun 11, 2024
1 parent 31497f0 commit af6b697
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
with:
ref: main
- uses: oven-sh/setup-bun@v1
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: "https://npm.pkg.github.com"
scope: "@trustwallet"
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
Expand All @@ -31,7 +36,7 @@ jobs:
npm version ${{ github.event.inputs.version || steps.vars.outputs.tag }}
bun run publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
actions: write
contents: write
Expand Down

0 comments on commit af6b697

Please sign in to comment.