Skip to content

Commit

Permalink
👷 Fix lint stage in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trallard committed Jul 20, 2023
1 parent 1ad110c commit a79db0d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ on:
env:
FORCE_COLOR: "1" # Make tools pretty.
PYTHONIOENCODING: utf-8
PIP_DISABLE_PIP_VERSION_CHECK: 1

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

defaults:
run:
shell: bash -eux {0}

jobs:
build:
Expand All @@ -27,22 +36,19 @@ jobs:

- name: Lint the extension 🚨
run: |
set -eux
jlpm
jlpm run lint:check
jlpm run eslint:check
- name: Build the extension 🏗
run: |
set -eux
python -m pip install .[test]
python -m pip install .
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "jupyterlab--accessible-themes.*OK"
python -m jupyterlab.browser_check
- name: Package the extension 🛠
run: |
set -eux
pip install build
python -m build
Expand Down Expand Up @@ -72,7 +78,6 @@ jobs:
name: extension-artifacts
- name: Install and Test
run: |
set -eux
# Remove NodeJS, twice to take care of system and locally installed node versions.
sudo rm -rf $(which node)
sudo rm -rf $(which node)
Expand Down

0 comments on commit a79db0d

Please sign in to comment.