Skip to content

Commit

Permalink
use yarn everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
modosc committed Aug 24, 2022
1 parent 57ba5d3 commit 92c16cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm run test
- run: npm run lint
- run: yarn test
- run: yarn lint
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
"url": "git+https://github.com/modosc/global-jsdom.git"
},
"scripts": {
"test": "npm run test:jsdom && npm run test:examples",
"test:jsdom": "npm run test:jsdom:esm && npm run test:jsdom:commonjs",
"test:jsdom:esm": "mocha --require test/setup.mjs test/*.test.mjs",
"test:jsdom:commonjs": "mocha --require test/setup.js test/*.test.js",
"test": "yarn test:jsdom && yarn test:examples",
"test:jsdom": "yarn test:jsdom:esm && yarn test:jsdom:commonjs",
"test:jsdom:esm": "yarn mocha --require test/setup.mjs test/*.test.mjs",
"test:jsdom:commonjs": "yarn mocha --require test/setup.js test/*.test.js",
"test:examples": "cd examples && yarn install && yarn upgrade global-jsdom && yarn test; cd ..",
"lint": "eslint --ext=js,mjs --cache .eslintrc.js examples/ commonjs/ esm/ test/ ",
"lint:fix": "eslint --ext=js,mjs --cache --fix .eslintrc.js examples/ commonjs/ esm/ test/"
"lint": "yarn eslint --ext=js,mjs --cache .eslintrc.js examples/ commonjs/ esm/ test/ ",
"lint:fix": "yarn eslint --ext=js,mjs --cache --fix .eslintrc.js examples/ commonjs/ esm/ test/"
}
}

0 comments on commit 92c16cb

Please sign in to comment.