Skip to content

Commit c4e25d8

Browse files
Update GH actions to node 20 and Python env for PyMinifier. (pyscript#2166)
* Update GH actions to node 20 and Python env for PyMinifier. * Fix spaces. * Fix test.yml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c82dbb7 commit c4e25d8

File tree

4 files changed

+64
-4
lines changed

4 files changed

+64
-4
lines changed

.github/workflows/prepare-release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,22 @@ jobs:
1919
- name: Install node
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 18.x
22+
node-version: 20.x
23+
24+
- name: Python venv
25+
run: python -m venv env
26+
27+
- name: Activate Python
28+
run: source env/bin/activate
29+
30+
- name: Update pip
31+
run: pip install --upgrade pip
32+
33+
- name: Install PyMinifier
34+
run: pip install --ignore-requires-python python-minifier
35+
36+
- name: Install Setuptools
37+
run: pip install setuptools
2338

2439
- name: Cache node modules
2540
uses: actions/cache@v4

.github/workflows/publish-release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,22 @@ jobs:
2121
- name: Install node
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 18.x
24+
node-version: 20.x
25+
26+
- name: Python venv
27+
run: python -m venv env
28+
29+
- name: Activate Python
30+
run: source env/bin/activate
31+
32+
- name: Update pip
33+
run: pip install --upgrade pip
34+
35+
- name: Install PyMinifier
36+
run: pip install --ignore-requires-python python-minifier
37+
38+
- name: Install Setuptools
39+
run: pip install setuptools
2540

2641
- name: Cache node modules
2742
uses: actions/cache@v4

.github/workflows/publish-snapshot.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,22 @@ jobs:
2525
- name: Install node
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 18.x
28+
node-version: 20.x
29+
30+
- name: Python venv
31+
run: python -m venv env
32+
33+
- name: Activate Python
34+
run: source env/bin/activate
35+
36+
- name: Update pip
37+
run: pip install --upgrade pip
38+
39+
- name: Install PyMinifier
40+
run: pip install --ignore-requires-python python-minifier
41+
42+
- name: Install Setuptools
43+
run: pip install setuptools
2944

3045
- name: Cache node modules
3146
uses: actions/cache@v4

.github/workflows/publish-unstable.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,22 @@ jobs:
2626
- name: Install node
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 18.x
29+
node-version: 20.x
30+
31+
- name: Python venv
32+
run: python -m venv env
33+
34+
- name: Activate Python
35+
run: source env/bin/activate
36+
37+
- name: Update pip
38+
run: pip install --upgrade pip
39+
40+
- name: Install PyMinifier
41+
run: pip install --ignore-requires-python python-minifier
42+
43+
- name: Install Setuptools
44+
run: pip install setuptools
3045

3146
- name: Cache node modules
3247
uses: actions/cache@v4

0 commit comments

Comments
 (0)