Skip to content

Commit

Permalink
fix(tests): reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefmikey committed May 29, 2024
1 parent 984f2c4 commit bbbdc7d
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [opened, synchronize]

jobs:
test:
test-v9:
runs-on: ubuntu-latest
steps:
- name: Check Out
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Install
run: npm i

- name: Run
- name: Test v9
run: npm run gh-test

test-v8:
Expand All @@ -42,5 +42,5 @@ jobs:
npm rm eslint
npm i eslint@8
- name: Run
- name: Test v8
run: npm run gh-test-v8
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"scripts": {
"build": "tsc -p tsconfig.build.json && sed -i '' -e 's/exports\\.default/module.exports/g' ./dist/index.js",
"gh-build": "tsc -p tsconfig.build.json && sed -i -e 's/exports\\.default/module.exports/g' ./dist/index.js",
"gh-test": "npm run gh-build && jest",
"gh-test": "npm run gh-build && jest tests/v9",
"gh-test-v8": "npm run gh-build && jest tests/v8",
"major": "npm version major; cd dist && npm version major",
"minor": "npm version minor; cd dist && npm version minor",
"ncu": "ncu -u; cd dist && ncu -u;",
"node": "node dist/index.js",
"patch": "npm version patch; cd dist && npm version patch",
"publish": "cd dist && npm publish --access public",
"test": "npm run build && npm i ./dist && jest --config=jest.config.ts",
"test:pin": "jest --config=jest.config.ts"
"test": "npm run build && npm i ./dist && jest --config=jest.config.ts tests/v9",
"test:pin": "jest --config=jest.config.ts tests/v9"
},
"dependencies": {
"app-root-path": "^3.1.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bbbdc7d

Please sign in to comment.