[KOA-6079]: Migrate to Node 18 #943
Workflow file for this run
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: ESLint Config Skyscanner CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: nvm install | |
run: nvm install | |
- name: Install deps | |
run: npm ci | |
- name: Run linters | |
run: npm run lint | |
- name: Test | |
run: | | |
nvm use | |
npm test | |
- name: Spellcheck | |
run: npm run spellcheck:ci |