Skip to content

Commit dd06267

Browse files
authored
[ci] Use frozen pnpm lockfile in the CI (#690)
* [ci] Use frozen pnpm lockfile in the CI * [ci] Upgraded checkout and setup-python actions * [ci] Added minimum release age
1 parent 7142ee9 commit dd06267

File tree

6 files changed

+190
-11
lines changed

6 files changed

+190
-11
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
runs-on: ubuntu-24.04
77
steps:
88
- name: Checkout repo
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v6
1010
- name: Set up python
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v6
1212
with:
1313
python-version: 3.8
1414
- name: Bootstrap poetry
@@ -22,9 +22,9 @@ jobs:
2222
runs-on: ubuntu-24.04
2323
steps:
2424
- name: Checkout repo
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v6
2626
- name: Set up python
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: 3.8
3030
- name: Bootstrap poetry
@@ -49,9 +49,9 @@ jobs:
4949
contents: read
5050
steps:
5151
- name: Checkout repo
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v6
5353
- name: Set up python
54-
uses: actions/setup-python@v4
54+
uses: actions/setup-python@v6
5555
with:
5656
python-version: 3.8
5757
- name: Bootstrap poetry

.github/workflows/tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
runs-on: ubuntu-24.04
77
steps:
88
- name: Checkout repo
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v6
1010
- name: Set up python
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v6
1212
with:
1313
python-version: 3.8
1414
- name: Bootstrap poetry
@@ -22,9 +22,9 @@ jobs:
2222
runs-on: ubuntu-24.04
2323
steps:
2424
- name: Checkout repo
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v6
2626
- name: Set up python
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: 3.8
3030
- name: Bootstrap poetry
@@ -33,8 +33,14 @@ jobs:
3333
- name: Install dependencies
3434
run: poetry install
3535

36+
# NOTE: Is fern executable needed here?
37+
- uses: pnpm/action-setup@v4
38+
- name: Setup node
39+
uses: actions/setup-node@v6
3640
- name: Install Fern
37-
run: npm install -g fern-api
41+
run: |
42+
pnpm install --frozen-lockfile
43+
alias fern='pnpm exec fern'
3844
3945
- name: Verify types
4046
run: poetry run python tests/verify_types.py

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
__pycache__/
44
dist/
55
poetry.toml
6+
node_modules/

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "elevenlabs-python",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC",
12+
"packageManager": "pnpm@10.13.1",
13+
"devDependencies": {
14+
"fern-api": "^2.8.2"
15+
}
16+
}

pnpm-lock.yaml

Lines changed: 154 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 10080 minutes is 7 days
2+
minimumReleaseAge: 10080

0 commit comments

Comments
 (0)