Skip to content

Commit a1dccec

Browse files
committed
CI: upgrade python & nodejs
1 parent c348d0a commit a1dccec

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/build_dev.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@master
14-
- name: Set up Python 3.7
14+
- name: Set up Python 3
1515
uses: actions/setup-python@v1
1616
with:
17-
python-version: 3.7
17+
python-version: 3.12
1818
- name: Set up Node.js
1919
uses: actions/setup-node@v2
2020
with:
21-
node-version: '14'
21+
node-version: '22'
2222
- name: Build frontend
2323
working-directory: ./webiojs
2424
run: |
2525
npm install
26-
gulp
26+
npx gulp
2727
cp dist/pywebio.min.* ../pywebio/html/js
2828
- name: Build doc demos
2929
run: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.7", "3.8", "3.9", "3.10" ] # some issue when setup "3.6", so remove it for now
12+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1313

1414
steps:
1515
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
- name: Set up Python 3
1616
uses: actions/setup-python@v1
1717
with:
18-
python-version: 3.7
18+
python-version: 3.12
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v2
2121
with:
22-
node-version: '14'
22+
node-version: '22'
2323
- name: Build frontend
2424
working-directory: ./webiojs
2525
run: |
2626
npm install
27-
gulp
27+
npx gulp
2828
cp dist/pywebio.min.js ../pywebio/html/js
2929
- name: PyPi Upload
3030
run: |

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ jobs:
66
steps:
77
- name: Checkout
88
uses: actions/checkout@master
9-
- name: Set up Python 3.7
9+
- name: Set up Python 3
1010
uses: actions/setup-python@v1
1111
with:
12-
python-version: 3.7
12+
python-version: 3.12
1313
- name: Set up Node.js
1414
uses: actions/setup-node@v2
1515
with:
16-
node-version: '14'
16+
node-version: '22'
1717
- name: Build frontend
1818
working-directory: ./webiojs
1919
run: |
2020
npm install
21-
gulp
21+
npx gulp
2222
cp dist/pywebio.min.* ../pywebio/html/js
2323
- name: Install package
2424
run: pip3 install ".[all]"

0 commit comments

Comments
 (0)