Skip to content

Commit 4c0f187

Browse files
authored
Merge pull request #122 from timkpaine/tkp/maint
Update GHA
2 parents e265db6 + b71e905 commit 4c0f187

File tree

3 files changed

+9344
-5
lines changed

3 files changed

+9344
-5
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ jobs:
2525
- uses: actions/checkout@v2
2626

2727
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v2
28+
uses: actions/setup-python@v3
2929
with:
3030
python-version: ${{ matrix.python-version }}
31+
cache: 'pip'
3132

3233
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v1
34+
uses: actions/setup-node@v3
3435
with:
3536
node-version: ${{ matrix.node-version }}
37+
cache: 'yarn'
38+
cache-dependency-path: js/yarn.lock
3639

3740
- name: Install yarn
3841
run: npm install -g yarn
@@ -60,7 +63,7 @@ jobs:
6063
if: ${{ github.event_name == matrix.event-name || matrix.os == 'ubuntu-latest' }}
6164

6265
- name: Upload test results
63-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v3
6467
with:
6568
name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
6669
path: python_junit.xml
@@ -73,7 +76,7 @@ jobs:
7376
if: ${{ matrix.os == 'ubuntu-latest' }}
7477

7578
- name: Upload coverage
76-
uses: codecov/codecov-action@v1
79+
uses: codecov/codecov-action@v2
7780

7881
- name: Twine check
7982
run: |

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ ENV/
166166

167167
keys.sh
168168
.autoversion
169-
yarn.lock
170169

171170
docs/api
172171
docs/index.md
@@ -176,4 +175,5 @@ jupyterlab_iframe/labextension
176175
Untitled.ipynb
177176
Untitled.html
178177
*.tsbuildinfo
178+
.vscode
179179

0 commit comments

Comments
 (0)