Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,25 @@ on:
jobs:
release:
runs-on: ubuntu-latest
concurrency: "1"
concurrency:
group: release
cancel-in-progress: false
environment: release
permissions:
contents: write
id-token: write

steps:
- name: Checkout code
uses: actions/checkout@v6
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
persist-credentials: false

- name: Setup Node.js version
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org/'

- name: Install dependencies
run: npm ci
Expand All @@ -37,11 +43,10 @@ jobs:
run: |
git config user.name "Uphold"
git config user.email "bot@uphold.com"
git config --global url.https://${{ secrets.RELEASE_GITHUB_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Generate release
env:
NPM_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
npm run release -- --increment ${{ github.event.inputs.VERSION_BUMP }} -V
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"bugs": {
"url": "https://github.com/uphold/debino/issues"
},
"npm": {
"publish": true,
"skipChecks": true
},
"publishConfig": {
"access": "public"
},
Expand Down
Loading