Skip to content

Commit

Permalink
Also publish to gh npm packages (#106)
Browse files Browse the repository at this point in the history
* Also publish to gh npm packages

* Updating version to 0.1.85

---------

Co-authored-by: dc-autobot[bot] <181364585+dc-autobot[bot]@users.noreply.github.com>
  • Loading branch information
mattdean-digicatapult and dc-autobot[bot] authored Jan 7, 2025
1 parent 48ee776 commit b587a05
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,23 @@ jobs:
needs: [static-checks-npm, tests-npm]
uses: digicatapult/shared-workflows/.github/workflows/release-module-npm.yml@main
with:
npm_build: true
npm_build_command: npm run build
permissions:
contents: write
packages: write
secrets:
REGISTRY_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
release-gh-packages:
needs: [static-checks-npm, tests-npm]
uses: digicatapult/shared-workflows/.github/workflows/release-module-npm.yml@main
with:
npm_build_command: npm run build
registry_url: 'https://npm.pkg.github.com'
permissions:
contents: write
packages: write
release-github:
needs: [release-npm]
needs: [release-npm, release-gh-packages]
uses: digicatapult/shared-workflows/.github/workflows/release-github.yml@main
permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digicatapult/tsoa-oauth-express",
"version": "0.1.84",
"version": "0.1.85",
"description": "Authentication handler for TSOA using OAuth2 JWT tokens",
"main": "build/index.js",
"type": "commonjs",
Expand Down

0 comments on commit b587a05

Please sign in to comment.