-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (30 loc) · 978 Bytes
/
checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This is a basic workflow to help you get started with Actions
name: Pull Request Checks
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
cache-dependency-path: yarn.lock
- name: Setup Python
uses: actions/setup-python@v2.2.2
with:
python-version: 3.x
- name: Install Jupyterlab
run: pip install jupyterlab==4
- name: Install JS dependencies
run: jlpm install --immutable
- name: "JavaScript Checks"
run: jlpm check:all