Skip to content

Commit e7856b6

Browse files
ci: fix release workflow (#110)
1 parent 30d4056 commit e7856b6

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ permissions:
1414
jobs:
1515
release:
1616
runs-on: ubuntu-latest
17-
environment: release
1817
if: startsWith(github.event.head_commit.message, 'chore(release):')
1918

2019
steps:
@@ -37,6 +36,10 @@ jobs:
3736
with:
3837
python-version: "3.10"
3938

39+
- name: Install Python dependencies
40+
shell: bash
41+
run: pip install boto3>=1.34.159 requests>=2.32.3 rl-deploy>=2.2.3.0 pip-system-certs>=4.0
42+
4043
- name: Configure AWS credentials
4144
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
4245
with:

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[
1616
"@semantic-release/exec",
1717
{
18-
"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",
18+
"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",
1919
"prepareCmd": "git diff --exit-code"
2020
}
2121
],

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"semantic-release": "^25.0.2",
1515
"should": "~1.2.1"
1616
},
17+
"files": [
18+
"lib"
19+
],
1720
"main": "./lib",
1821
"repository": "https://github.com/auth0/node-saml",
1922
"keywords": [

0 commit comments

Comments
 (0)