test-frontend:
image: node:lts-alpine
stage: test
before_script:
- cd frontend
script:
- yarn install
- yarn lint
cache:
paths:
- frontend/node_modules/
- frontend/.yarn
except:
- master
only:
changes:
- frontend/*