Skip to content

Commit

Permalink
Merge pull request #1677 from adalinesimonian/windows-test-script
Browse files Browse the repository at this point in the history
fix: make test script work on Windows
  • Loading branch information
ai committed Nov 21, 2021
2 parents 38d02ec + c6e84a9 commit 0524155
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: windows-latest
name: Windows Quick
env:
YARN_GPG: "no"
YARN_GPG: 'no'
steps:
- name: Checkout the repository
uses: actions/checkout@v2
Expand All @@ -60,6 +60,6 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run unit tests
run: yarn uvu -r ts-node/register/transpile-only test "^.*test.([tj]s)"
run: yarn unit
env:
FORCE_COLOR: 2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
],
"scripts": {
"test": "c8 yarn unit && eslint . && node ./test/version.js && check-dts && node ./test/integration.js && size-limit",
"unit": "uvu -r ts-node/register/transpile-only test '\\.test\\.(ts|js)$'"
"unit": "uvu -r ts-node/register/transpile-only test \"\\.test\\.(ts|js)$\""
},
"funding": {
"type": "opencollective",
Expand Down

0 comments on commit 0524155

Please sign in to comment.