Skip to content

Commit 63320b0

Browse files
committed
Update GitHub workflows
1 parent 1630263 commit 63320b0

File tree

2 files changed

+41
-39
lines changed

2 files changed

+41
-39
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v5
12+
with:
13+
submodules: recursive
1214
- name: Install dependencies (apt)
1315
run: |
1416
sudo apt-get update && \

.github/workflows/nodejs.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -15,41 +15,41 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: Checkout repository
19-
uses: actions/checkout@v4
20-
with:
21-
submodules: recursive
22-
- name: Check for package-lock.json
23-
run: |
24-
if [ -e package-lock.json ]; then
25-
echo "package-lock.json found; please do not use NPM! This project uses Yarn!"
26-
exit 1
27-
fi
28-
exit 0
29-
- name: Install dependencies (apt)
30-
run: |
31-
sudo apt-get update && \
32-
sudo apt-get install -y --no-install-recommends \
33-
texlive texlive-fonts-extra texlive-lang-cjk latexmk latex-cjk-all
34-
# Has to be run before actions/setup-node.
35-
# See: https://github.com/actions/setup-node/issues/480
36-
- name: Enable corepack for Yarn
37-
run: corepack enable
38-
- name: Setup Node
39-
uses: actions/setup-node@v4
40-
with:
41-
node-version: 20
42-
cache: yarn
43-
- run: yarn install --immutable
44-
- run: yarn build
45-
- run: yarn format:ci
46-
- run: yarn eslint
47-
- run: yarn test-coverage
48-
env:
49-
CI: true
50-
- name: Check that docs build
51-
run: yarn jsdoc prepare
52-
- name: Coveralls
53-
uses: coverallsapp/github-action@master
54-
with:
55-
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Checkout repository
19+
uses: actions/checkout@v5
20+
with:
21+
submodules: recursive
22+
- name: Check for package-lock.json
23+
run: |
24+
if [ -e package-lock.json ]; then
25+
echo "package-lock.json found; please do not use NPM! This project uses Yarn!"
26+
exit 1
27+
fi
28+
exit 0
29+
- name: Install dependencies (apt)
30+
run: |
31+
sudo apt-get update && \
32+
sudo apt-get install -y --no-install-recommends \
33+
texlive texlive-fonts-extra texlive-lang-cjk latexmk latex-cjk-all
34+
# Has to be run before actions/setup-node.
35+
# See: https://github.com/actions/setup-node/issues/480
36+
- name: Enable corepack for Yarn
37+
run: corepack enable
38+
- name: Setup Node
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: 20
42+
cache: yarn
43+
- run: yarn install --immutable
44+
- run: yarn build
45+
- run: yarn format:ci
46+
- run: yarn eslint
47+
- run: yarn test-coverage
48+
env:
49+
CI: true
50+
- name: Check that docs build
51+
run: yarn jsdoc prepare
52+
- name: Coveralls
53+
uses: coverallsapp/github-action@master
54+
with:
55+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)