From b587a055f3ddc7818bc18af6e6b55b15e4520678 Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Tue, 7 Jan 2025 11:41:54 +0000 Subject: [PATCH] Also publish to gh npm packages (#106) * 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> --- .github/workflows/release.yml | 14 ++++++++++++-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3498d6..9ae14cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package-lock.json b/package-lock.json index 19fb7ba..11d1916 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@digicatapult/tsoa-oauth-express", - "version": "0.1.84", + "version": "0.1.85", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@digicatapult/tsoa-oauth-express", - "version": "0.1.84", + "version": "0.1.85", "license": "Apache-2.0", "dependencies": { "jsonwebtoken": "^9.0.2", diff --git a/package.json b/package.json index 8ed52d8..4c38d8f 100644 --- a/package.json +++ b/package.json @@ -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",