Skip to content

Commit

Permalink
👷 Add tests ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte2036 committed May 10, 2024
1 parent 2fadf0d commit 6804757
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tests

on:
push:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 18

- run: npm ci

- run: npm test

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "jest --watch"
"test": "jest"
},
"dependencies": {
"@lit/react": "^1.0.3",
Expand Down

0 comments on commit 6804757

Please sign in to comment.