88 # https://github.com/pre-commit/action
99 pre-commit :
1010 name : Lint
11- runs-on : ubuntu-22 .04
11+ runs-on : ubuntu-24 .04
1212 steps :
13- - uses : actions/checkout@v4
14- - uses : actions/setup-python@v5
13+ - uses : actions/checkout@v5
14+ - uses : actions/setup-python@v6
1515 with :
16- python-version : ' 3.12 '
16+ python-version : ' 3.13 '
1717 - uses : pre-commit/action@v3.0.1
1818
1919 # Due to complications in the build process when trying to support both JupyterLab
2020 # 2 and 3 we build the pypi packages with JupyterLab 3, but test on 2 and 3
2121
2222 build :
2323 name : Build dist
24- runs-on : ubuntu-22 .04
24+ runs-on : ubuntu-24 .04
2525 steps :
26- - uses : actions/checkout@v4
26+ - uses : actions/checkout@v5
2727
28- - uses : actions/setup-python@v5
28+ - uses : actions/setup-python@v6
2929 with :
30- python-version : ' 3.10 '
30+ python-version : ' 3.13 '
3131 cache : pip
3232 cache-dependency-path : ' dev-requirements*'
3333
34- - uses : actions/setup-node@v4
34+ - uses : actions/setup-node@v5
3535 with :
36- node-version : ' 20 .x'
36+ node-version : ' 24 .x'
3737 cache : yarn
3838
3939 - name : Install dependencies
@@ -80,22 +80,22 @@ jobs:
8080 jupyterlab-major : ' 4'
8181 - python-version : ' 3.12'
8282 jupyterlab-major : ' 4'
83- runs-on : ubuntu-22 .04
83+ runs-on : ubuntu-24 .04
8484 # Includes geckdriver and firefox
8585 # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
8686 steps :
87- - uses : actions/checkout@v4
87+ - uses : actions/checkout@v5
8888
8989 - name : Set up Python ${{ matrix.python-version }}
90- uses : actions/setup-python@v5
90+ uses : actions/setup-python@v6
9191 with :
9292 python-version : ${{ matrix.python-version }}
9393 cache : pip
9494 cache-dependency-path : ' dev-requirements*'
9595
96- - uses : actions/setup-node@v4
96+ - uses : actions/setup-node@v5
9797 with :
98- node-version : ' 20 .x'
98+ node-version : ' 24 .x'
9999 cache : yarn
100100
101101 - name : Download artifacts from build
@@ -117,36 +117,36 @@ jobs:
117117 # Only publish if other jobs passed
118118 - pre-commit
119119 - test
120- runs-on : ubuntu-22 .04
120+ runs-on : ubuntu-24 .04
121121 permissions :
122122 id-token : write
123123 steps :
124124 - name : Download artifacts from build
125- uses : actions/download-artifact@v4
125+ uses : actions/download-artifact@v5
126126 with :
127127 name : dist
128128 path : dist
129129
130130 - name : Publish to PyPI
131131 if : startsWith(github.ref, 'refs/tags')
132- uses : pypa/gh-action-pypi-publish@v1.12.4
132+ uses : pypa/gh-action-pypi-publish@v1.13.0
133133
134134 # https://docs.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
135135 publish-npm :
136136 needs :
137137 # Only publish if other jobs passed
138138 - pre-commit
139139 - test
140- runs-on : ubuntu-22 .04
140+ runs-on : ubuntu-24 .04
141141 steps :
142142 # Setup .npmrc file to publish to npm
143- - uses : actions/setup-node@v4
143+ - uses : actions/setup-node@v5
144144 with :
145- node-version : ' 20 .x'
145+ node-version : ' 24 .x'
146146 registry-url : https://registry.npmjs.org
147147
148148 - name : Download artifacts from build
149- uses : actions/download-artifact@v4
149+ uses : actions/download-artifact@v5
150150 with :
151151 name : jsdist
152152 path : jsdist
0 commit comments