mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 02:31:20 +00:00
ci: remove unit testing (#198)
* ci(test): remove `test-package` job * test: remove testing using Jest * test(eslint): remove `parserOptions` entry
This commit is contained in:
parent
3b4a441de9
commit
28146ffccf
@ -2,10 +2,6 @@
|
||||
"root": true,
|
||||
"ignorePatterns": ["dist"],
|
||||
"extends": ["eslint:recommended", "prettier"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2022,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["**/*.mts", "**/*.ts"],
|
||||
@ -19,12 +15,6 @@
|
||||
"tsdoc/syntax": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["**/*.test.*"],
|
||||
"env": {
|
||||
"jest": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["package.json"],
|
||||
"plugins": ["json-files"],
|
||||
|
20
.github/workflows/test.yaml
vendored
20
.github/workflows/test.yaml
vendored
@ -28,26 +28,6 @@ jobs:
|
||||
- name: Check Lint
|
||||
run: corepack yarn lint
|
||||
|
||||
test-package:
|
||||
name: Test Package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
node-version: latest
|
||||
|
||||
- name: Install Dependencies
|
||||
uses: threeal/yarn-install-action@v1.0.0
|
||||
|
||||
- name: Test Package
|
||||
run: corepack yarn test
|
||||
env:
|
||||
NODE_OPTIONS: --experimental-vm-modules
|
||||
|
||||
test-action:
|
||||
name: Test Action
|
||||
runs-on: ${{ matrix.os }}-latest
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,7 +4,6 @@
|
||||
!.yarnrc.yml
|
||||
|
||||
build/
|
||||
coverage/
|
||||
node_modules/
|
||||
|
||||
src/**/*.mjs
|
||||
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"collectCoverage": true,
|
||||
"coverageThreshold": {
|
||||
"global": {
|
||||
"branches": 100,
|
||||
"functions": 100,
|
||||
"lines": 100,
|
||||
"statements": 100
|
||||
}
|
||||
}
|
||||
}
|
@ -4,8 +4,7 @@
|
||||
"scripts": {
|
||||
"build": "tsc && ncc build src/index.mjs -o dist",
|
||||
"format": "prettier --write --cache . !dist !README.md",
|
||||
"lint": "eslint --ignore-path .gitignore .",
|
||||
"test": "tsc && jest"
|
||||
"lint": "eslint --ignore-path .gitignore ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
@ -21,7 +20,6 @@
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-json-files": "^4.1.0",
|
||||
"eslint-plugin-tsdoc": "^0.2.17",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.2.5",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
|
@ -1 +0,0 @@
|
||||
test("some test", () => {});
|
Loading…
Reference in New Issue
Block a user