Merge pull request #192 from unipept/dependabot/npm_and_yarn/eslint-9… #421
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: CI | |
on: [push] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: yarn | |
- name: Install dependencies | |
run: | | |
yarn install | |
- name: Lint | |
run: | | |
yarn lint | |
- name: Type check | |
run: | | |
yarn typecheck | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: yarn | |
- name: Install dependencies | |
run: | | |
yarn install | |
- name: Test | |
run: | | |
yarn test |