Update Node.js to v22 #515
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: yarn install | |
run: yarn install | |
- name: Lint server | |
run: yarn lint:server | |
- name: Lint client | |
run: yarn lint:client | |
- name: Lint CSS | |
run: yarn lint:css | |
- name: Install mutool | |
run: sudo apt-get install -y mupdf-tools | |
- name: Tests | |
run: yarn test:ci |