@@ -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