Skip to content

Commit c9bcec5

Browse files
committed
Switch to ESM and Baseline2024
1 parent b852632 commit c9bcec5

File tree

8 files changed

+1076
-181
lines changed

8 files changed

+1076
-181
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,28 @@ jobs:
1919
- run: python -m build --sdist --wheel
2020
- run: python -m twine check dist/*
2121

22-
standardjs:
22+
js-lint:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/setup-node@v4
26-
with:
27-
node-version: '14.x'
2826
- uses: actions/checkout@v4
29-
- id: cache-npm
30-
uses: actions/cache@v4
31-
with:
32-
path: ~/.npm
33-
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
34-
restore-keys: |
35-
${{ runner.os }}-node-
3627
- name: Install Node dependencies
3728
run: npm ci
3829
- run: npm run lint:js
3930

40-
lint:
31+
32+
js-test:
33+
runs-on: ubuntu-latest
34+
needs:
35+
- js-lint
36+
steps:
37+
- uses: actions/setup-node@v4
38+
- uses: actions/checkout@v4
39+
- name: Install Node dependencies
40+
run: npm ci
41+
- run: npm test
42+
43+
py-lint:
4144
runs-on: ubuntu-latest
4245
strategy:
4346
matrix:
@@ -59,20 +62,19 @@ jobs:
5962

6063
pytest:
6164
needs:
62-
- lint
63-
- standardjs
65+
- py-lint
6466
- dist
6567
runs-on: ubuntu-latest
6668
strategy:
6769
matrix:
6870
python-version:
69-
- "3.10"
7071
- "3.11"
7172
- "3.12"
73+
- "3.13"
7274
django-version:
73-
- "3.2"
7475
- "4.2"
7576
- "5.0"
77+
- "5.1"
7678
steps:
7779
- uses: actions/checkout@v4
7880
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)