Skip to content

Commit

Permalink
setup ci workflow, test folder, and mock-test
Browse files Browse the repository at this point in the history
  • Loading branch information
okrayum committed Jun 10, 2024
1 parent fef522c commit 7e18dd8
Show file tree
Hide file tree
Showing 5 changed files with 5,108 additions and 1,187 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Client CI

on:
push:
branches:
- dev
paths:
- 'client/**'

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: |
cd client
npm install
- name: Run tests
run: |
cd client
npm test
2 changes: 1 addition & 1 deletion client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
env: { browser: true, es2020: true, jest: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
Expand Down
Loading

0 comments on commit 7e18dd8

Please sign in to comment.