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",