mirror of
https://github.com/evroon/bracket.git
synced 2026-03-06 08:08:37 -05:00
26 lines
510 B
YAML
26 lines
510 B
YAML
name: frontend
|
|
|
|
on: [push, workflow_dispatch]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup yarn
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '18'
|
|
cache: 'yarn'
|
|
cache-dependency-path: frontend/yarn.lock
|
|
|
|
- name: Install npm modules
|
|
run: yarn
|
|
working-directory: frontend
|
|
|
|
- name: Run prettier, lint, jest checks
|
|
run: yarn test
|
|
working-directory: frontend
|