chore(deps): bump webpack, @storybook/addon-essentials and @storybook/react in /frontend #114
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: Frontend Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'frontend/**' | |
- '.github/workflows/frontend.yml' | |
jobs: | |
frontend-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- name: Clean npm cache | |
run: npm cache clean --force | |
- name: Install dependencies | |
run: cd ./frontend && npm ci | |
- name: Run Frontend Tests | |
run: cd ./frontend && npm run test:ci | |