Skip to content

Commit

Permalink
CI: upgrade python & nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Feb 14, 2025
1 parent c348d0a commit a1dccec
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python 3
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.12
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '22'
- name: Build frontend
working-directory: ./webiojs
run: |
npm install
gulp
npx gulp
cp dist/pywebio.min.* ../pywebio/html/js
- name: Build doc demos
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10" ] # some issue when setup "3.6", so remove it for now
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- name: Set up Python 3
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.12
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '22'
- name: Build frontend
working-directory: ./webiojs
run: |
npm install
gulp
npx gulp
cp dist/pywebio.min.js ../pywebio/html/js
- name: PyPi Upload
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python 3
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.12
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '22'
- name: Build frontend
working-directory: ./webiojs
run: |
npm install
gulp
npx gulp
cp dist/pywebio.min.* ../pywebio/html/js
- name: Install package
run: pip3 install ".[all]"
Expand Down

0 comments on commit a1dccec

Please sign in to comment.