Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6331036

Browse files
committedJun 24, 2024·
fix(ci): Bump semantic release to avoid rate limit
1 parent 2d51ad2 commit 6331036

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed
 

‎.github/workflows/ci.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Unit tests
1010
strategy:
1111
matrix:
12-
python-version: ['3.7', '3.10']
12+
python-version: ['3.10']
1313
os: [macos-latest, ubuntu-latest, windows-latest]
1414

1515
runs-on: ${{ matrix.os }}
@@ -44,9 +44,9 @@ jobs:
4444
with:
4545
python-version: 3.7
4646
- name: set up node # we need node for for semantic release
47-
uses: actions/setup-node@v2.1.2
47+
uses: actions/setup-node@v4
4848
with:
49-
node-version: 14.2.0
49+
node-version: 22.2.0
5050
- name: install python dependencies
5151
run: |
5252
python -m pip install --upgrade pip
@@ -57,8 +57,8 @@ jobs:
5757
- name: run semantic release
5858
id: new_release
5959
run: |
60-
nextRelease="`npx semantic-release@^17.0.0 --dryRun | grep -oP 'Published release \K.*? ' || true`"
61-
npx semantic-release@^17.0.0
60+
nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`"
61+
npx semantic-release@^23.1.1
6262
echo "::set-output name=tag::$nextRelease"
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎.releaserc.json

+13-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
"plugins": [
33
"@semantic-release/commit-analyzer",
44
"@semantic-release/release-notes-generator",
5-
"@semantic-release/github",
6-
["@semantic-release/exec", {
7-
"publishCmd": "bash deploy.sh ${nextRelease.version}"
8-
}]
5+
[
6+
"@semantic-release/github",
7+
{
8+
"successComment": false,
9+
"failTitle": false
10+
}
11+
],
12+
[
13+
"@semantic-release/exec",
14+
{
15+
"publishCmd": "bash deploy.sh"
16+
}
17+
]
918
]
1019
}

0 commit comments

Comments
 (0)
Please sign in to comment.