diff --git a/.commitlintrc.json b/.commitlintrc.json new file mode 100644 index 0000000..c30e5a9 --- /dev/null +++ b/.commitlintrc.json @@ -0,0 +1,3 @@ +{ + "extends": ["@commitlint/config-conventional"] +} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23f8c44..b4a5c6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,6 @@ permissions: jobs: release: runs-on: ubuntu-latest - environment: release if: startsWith(github.event.head_commit.message, 'chore(release):') steps: @@ -37,6 +36,10 @@ jobs: with: python-version: "3.10" + - name: Install Python dependencies + shell: bash + run: pip install boto3>=1.34.159 requests>=2.32.3 rl-deploy>=2.2.3.0 pip-system-certs>=4.0 + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0 with: diff --git a/.releaserc.json b/.releaserc.json index 3f8d5a2..e661814 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -15,7 +15,7 @@ [ "@semantic-release/exec", { - "verifyReleaseCmd": "ARTIFACT=$(npm pack --ignore-scripts | tail -1) && rl-wrapper --artifact \"$ARTIFACT\" --name node-saml --version ${nextRelease.version} --repository $GITHUB_REPOSITORY --commit $GITHUB_SHA --build-env github_actions --suppress_output", + "verifyReleaseCmd": "ARTIFACT=\"$(pwd)/$(npm pack --ignore-scripts | tail -1)\" && rl-wrapper --artifact \"$ARTIFACT\" --name node-saml --version ${nextRelease.version} --repository $GITHUB_REPOSITORY --commit $GITHUB_SHA --build-env github_actions --suppress-output", "prepareCmd": "git diff --exit-code" } ], diff --git a/package.json b/package.json index df0b9b7..bffb6fc 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,9 @@ "semantic-release": "^25.0.2", "should": "~1.2.1" }, + "files": [ + "lib" + ], "main": "./lib", "repository": "https://github.com/auth0/node-saml", "keywords": [