Skip to content

Commit

Permalink
chore: update frontend ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsbalazs authored Jun 27, 2024
1 parent f3b2e88 commit b25f36c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
# Setup an action to run the frontend CI for PRs

# name of the action
name: Frontend CI

# when should it run
on:
pull_request:
branches:
- main

# what should it do
jobs:
# name of the job
build:
# what should it run on
runs-on: ubuntu-latest
# default values for all the steps
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Run build
run: npm run build

0 comments on commit b25f36c

Please sign in to comment.