Skip to content

Commit

Permalink
Run tests in action
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Sep 18, 2024
1 parent 1d5599f commit c5197c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compile-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: Compile code
run: npm run build

# - name: Run tests
# run: npm run test
- name: Run tests
run: npm run test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"build:electron": "MODE=electronbuild vite build && npm run docs:build && mkdir -p dist/docs && cp -r docs/.vitepress/dist/* dist/docs/ && mkdir -p build && cp src/assets/picto-black.png build/icon.png && cp src/assets/picto-black.icns build/icon.icns && electron-builder -wl && rm -rf build",
"build:electron-mac": "MODE=electronbuild vite build && npm run docs:build && mkdir -p dist/docs && cp -r docs/.vitepress/dist/* dist/docs/ && mkdir -p build && cp src/assets/picto-black.png build/icon.png && cp src/assets/picto-black.icns build/icon.icns && electron-builder -m && rm -rf build",
"serve": "vite preview",
"test": "vitest",
"test": "vitest run",
"test:watch": "vitest",
"typesafe-i18n": "typesafe-i18n",
"docs:build": "cd docs && npm run build && cd ..",
"postinstall": "electron-builder install-app-deps && cd docs && npm install && cd .."
Expand Down

0 comments on commit c5197c0

Please sign in to comment.