Skip to content

Commit

Permalink
ci: Added tests to check the existence of board and piece themes
Browse files Browse the repository at this point in the history
  • Loading branch information
pruizlezcano authored Jun 25, 2024
1 parent e275f07 commit 9ae096b
Show file tree
Hide file tree
Showing 41 changed files with 763 additions and 1,915 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on: [push, pull_request]

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: 8

- name: pnpm install
run: |
pnpm install
- name: pnpm test
run: |
pnpm test
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "node scripts/build.cjs",
"release": "node scripts/make-release.cjs",
"lint": "eslint -c ./.eslintrc.js \"src/**/*.ts*\"",
"style": "prettier --write \"src/**/*.ts*\""
"style": "prettier --write \"src/**/*.ts*\"",
"test": "vitest run"
},
"keywords": [],
"author": {
Expand All @@ -26,8 +27,6 @@
"tabWidth": 2
},
"devDependencies": {
"@types/chrome": "^0.0.259",
"@types/firefox-webext-browser": "^120.0.0",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.20.0",
Expand All @@ -44,10 +43,9 @@
"filemanager-webpack-plugin": "^8.0.0",
"merge-json-webpack-plugin": "^6.2.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"web-ext": "^7.11.0",
"vitest": "^1.4.0",
"webextension-polyfill": "^0.10.0",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.4",
Expand Down
Loading

0 comments on commit 9ae096b

Please sign in to comment.