Skip to content

Commit 7933fa2

Browse files
committed
Update CI scripts
1 parent d94f431 commit 7933fa2

10 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/actions/build/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
runs:
33
using: "Composite"
44
steps:
5-
- name: Install Node Mudules
6-
uses: ./.github/actions/install_node_modules
5+
- name: Install npm Mudules
6+
uses: ./.github/actions/install-npm-modules
77

88
- name: Build
99
run: npm run build

.github/actions/execute_notebooks/action.yml renamed to .github/actions/execute-notebooks/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ runs:
33
using: "Composite"
44
steps:
55
- name: Install Python Modules
6-
uses: ./.github/actions/install_python_modules
6+
uses: ./.github/actions/install-python-modules
77

88
- name: Execute Notebooks
99
run: npm run execute_notebooks
File renamed without changes.
File renamed without changes.

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Deploy
33

44
on:
55
push:
6-
branches: main
6+
branches: [main, master]
77

88
permissions:
99
contents: write
@@ -18,12 +18,12 @@ jobs:
1818
uses: actions/checkout@v3
1919

2020
- name: Execute Notebooks
21-
uses: ./.github/actions/execute_notebooks
21+
uses: ./.github/actions/execute-notebooks
2222

2323
- name: Build
2424
uses: ./.github/actions/build
2525

26-
- name: Deploy 🚀
26+
- name: Deploy
2727
uses: JamesIves/github-pages-deploy-action@v4
2828
with:
2929
clean-exclude: pr-preview/

.github/workflows/formatter.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v3
3333

3434
- name: Install Python Modules
35-
uses: ./.github/actions/install_python_modules
35+
uses: ./.github/actions/install-python-modules
3636

3737
- name: Run Databooks
3838
run: poetry run databooks meta --no-rm-outs --rm-exec --yes .
@@ -44,8 +44,8 @@ jobs:
4444
- name: Checkout Code
4545
uses: actions/checkout@v3
4646

47-
- name: Install Node Mudules
48-
uses: ./.github/actions/install_node_modules
47+
- name: Install npm Mudules
48+
uses: ./.github/actions/install-npm-modules
4949

5050
- name: Run Prettier
5151
run: npx prettier --write .
@@ -60,7 +60,7 @@ jobs:
6060
uses: actions/checkout@v3
6161

6262
- name: Install Python Modules
63-
uses: ./.github/actions/install_python_modules
63+
uses: ./.github/actions/install-python-modules
6464

6565
- name: Run Black
6666
run: poetry run black .
@@ -75,7 +75,7 @@ jobs:
7575
uses: actions/checkout@v3
7676

7777
- name: Install Python Modules
78-
uses: ./.github/actions/install_python_modules
78+
uses: ./.github/actions/install-python-modules
7979

8080
- name: Run nqQA isort
8181
run: poetry run nbqa isort .
@@ -90,7 +90,7 @@ jobs:
9090
uses: actions/checkout@v3
9191

9292
- name: Install Python Modules
93-
uses: ./.github/actions/install_python_modules
93+
uses: ./.github/actions/install-python-modules
9494

9595
- name: Run nqQA pyupgrade
9696
run: poetry run nbqa pyupgrade .
@@ -109,17 +109,17 @@ jobs:
109109
python-version: latest
110110

111111
- name: Install Python Modules
112-
uses: ./.github/actions/install_python_modules
112+
uses: ./.github/actions/install-python-modules
113113

114114
- name: Cache pre-commit
115115
uses: actions/cache@v3
116-
id: pre-commit_cache_id
116+
id: precommit_cache_id
117117
with:
118118
path: ~/.cache/pre-commit
119119
key: pre-commit-cache-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('.pre-commit-config.yaml') }}
120120

121121
- name: Install pre-commit environment
122-
if: steps.pre-commit_cache_id.outputs.cache-hit != 'true'
122+
if: steps.precommit_cache_id.outputs.cache-hit != 'true'
123123
run: pre-commit run --all-files
124124

125125
- name: Run pre-commit

.github/workflows/linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
with:
3636
ref: ${{ github.head_ref }}
3737

38-
- name: Install Node Mudules
39-
uses: ./.github/actions/install_node_modules
38+
- name: Install npm Mudules
39+
uses: ./.github/actions/install-npm-modules
4040

4141
- name: Run ESLint
4242
run: npx eslint . --ext .js,.jsx,.ts,.tsx
@@ -52,8 +52,8 @@ jobs:
5252
with:
5353
ref: ${{ github.head_ref }}
5454

55-
- name: Install Node Mudules
56-
uses: ./.github/actions/install_node_modules
55+
- name: Install npm Mudules
56+
uses: ./.github/actions/install-npm-modules
5757

5858
- name: Run Stylelint
5959
run: npx stylelint "**/*.css"

.github/workflows/notebook-execution-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
uses: actions/checkout@v3
1515

1616
- name: Execute Notebooks
17-
uses: ./.github/actions/execute_notebooks
17+
uses: ./.github/actions/execute-notebooks

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Deploy PR previews
2+
name: Deploy PR Previews
33

44
on:
55
pull_request:
@@ -15,7 +15,7 @@ concurrency: preview-${{ github.ref }}
1515

1616
jobs:
1717
deploy-preview:
18-
name: Deploy PR previews
18+
name: Deploy PR Previews
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout Code

0 commit comments

Comments
 (0)