Skip to content

Commit

Permalink
adjust testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Apr 17, 2024
1 parent a4fb027 commit 91d79a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run test
- run: npm run test:stylelint
lint:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "extends": ["./dist/index"], "cache": false }
{ "extends": ["./dist/index.cjs"], "cache": false }
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@
"node": ">16.0.0"
},
"scripts": {
"postinstall": "npm run build",
"pretest": "npm run build",
"build": "rollup -c",
"clean": "rimraf dist",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --coverage false",
"test": "npm run test:jest && npm run test:stylelint",
"test:jest": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --coverage false",
"test:stylelint": "stylelint __tests__/__fixtures__/good/",
"lint": "eslint .",
"release": "changeset publish"
Expand Down

0 comments on commit 91d79a7

Please sign in to comment.