Skip to content

Merge pull request #58 from TiagoM13/feature/pokedex #39

Merge pull request #58 from TiagoM13/feature/pokedex

Merge pull request #58 from TiagoM13/feature/pokedex #39

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- main
- develop
- 'feature/*'
- 'refactor/*'
- 'fix/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.13.x
cache: npm
- name: Clear npm cache
run: npm cache clean --force
- name: Install dependencies
run: npm ci
- name: Run linting and tests
run: |
npm run lint
npm test