Skip to content

Commit

Permalink
Create ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sikleber authored Apr 21, 2024
1 parent 9e8b446 commit 96af035
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test-frontend:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install
run: npm install

- name: Lint
run: npm run lint

- name: Format check
run: npm run format:check

- name: Test
run: npm run test

- name: Build
run: npm run build

0 comments on commit 96af035

Please sign in to comment.