Skip to content

Commit

Permalink
add frontend github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
boraykasap committed May 11, 2024
1 parent 75f562a commit 9a563a4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Front-End CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend

steps:
- uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'yarn'

- name: Install dependencies
run: yarn install —immutable

- name: Run formatter
run: yarn format

- name: Run linter
run: yarn lint

- name: Run tests
run: yarn test

0 comments on commit 9a563a4

Please sign in to comment.