Skip to content

Commit

Permalink
Merge branch 'autoTest' into AppTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarl Roest committed Mar 4, 2024
2 parents 6ad3cbb + d4a2540 commit adc8dae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "18"
- run: npm ci
- run: npm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"test": "tsc && vitest --run --coverage && vite build"
},
"dependencies": {
"@testing-library/jest-dom": "^6.4.2",
Expand Down

0 comments on commit adc8dae

Please sign in to comment.