Incognito report #971
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: Run tests and linting | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install XVFB | |
run: sudo apt-get install xvfb | |
- name: Install dependencies | |
run: npm install | |
- name: Run the tests | |
run: xvfb-run -a npm test | |
- name: run the linters | |
run: npm run lint |