Skip to content

Merge pull request #3 from 13MrBlackCat13/dependabot/npm_and_yarn/fro… #7

Merge pull request #3 from 13MrBlackCat13/dependabot/npm_and_yarn/fro…

Merge pull request #3 from 13MrBlackCat13/dependabot/npm_and_yarn/fro… #7

Workflow file for this run

name: Frontend CI
on:
push:
branches: [ "master" ]
paths:
- 'frontend/**'
pull_request:
branches: [ "master" ]
paths:
- 'frontend/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Run linter
run: |
cd frontend
npm run lint
- name: Run tests
run: |
cd frontend
npm test
- name: Build
run: |
cd frontend
npm run build