diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afeaa54..32351d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,23 +44,3 @@ jobs: path: dist container: image: jsii/superchain - release_npm: - name: Release to npm - needs: release - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - name: Download build artifacts - uses: actions/download-artifact@v2 - with: - name: dist - path: dist - - name: Release - run: npx -p jsii-release@latest jsii-release-npm - env: - NPM_DIST_TAG: latest - NPM_REGISTRY: registry.npmjs.org - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - container: - image: jsii/superchain diff --git a/.projen/tasks.json b/.projen/tasks.json index 772e0a1..2b11d74 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -208,22 +208,6 @@ } ] }, - "publish:npm": { - "name": "publish:npm", - "description": "Publish this package to the npm Registry", - "env": { - "NPM_DIST_TAG": "latest", - "NPM_REGISTRY": "registry.npmjs.org" - }, - "requiredEnv": [ - "NPM_TOKEN" - ], - "steps": [ - { - "exec": "npx -p jsii-release@latest jsii-release-npm" - } - ] - }, "codegen": { "name": "codegen", "steps": [ diff --git a/.projenrc.js b/.projenrc.js index 194c9f0..10a5912 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -7,6 +7,8 @@ const project = new JsiiProject({ // per submodule. see scripts/docgen.ts docgen: false, + releaseToNpm: false, + defaultReleaseBranch: 'main', authorName: 'Eli Polonsky', repository: 'https://github.com/iliapolo/aws-cdk-sdk', diff --git a/package.json b/package.json index 801e4d6..c0e531f 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "package": "npx projen package", "eslint": "npx projen eslint", "compat": "npx projen compat", - "publish:npm": "npx projen publish:npm", "codegen": "npx projen codegen", "docgen": "npx projen docgen", "integ:synth": "npx projen integ:synth",