-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6898db7
commit 15b39e7
Showing
30 changed files
with
325 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,26 +10,29 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
tests: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: '.nvmrc' | ||
# handle NPM / Node.js repeatedly bricking their npm setup on Windows | ||
# Note that this won't work if it uses --no-save | ||
- if: runner.os == 'Windows' | ||
shell: bash | ||
run: | | ||
npm install npm | ||
npm i npm | ||
# format package.json is to account for the above `npm i npm` command | ||
- name: run test | ||
shell: bash | ||
run: | | ||
npm ci | ||
npx playwright install --with-deps | ||
npm run format package.json | ||
npm run test:all |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,20 +15,23 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: '.nvmrc' | ||
# handle NPM / Node.js repeatedly bricking their npm setup on Windows | ||
# Note that this won't work if it uses --no-save | ||
- if: runner.os == 'Windows' | ||
shell: bash | ||
run: | | ||
npm install npm | ||
npm i npm | ||
# format package.json is to account for the above `npm i npm` command | ||
- name: run test | ||
shell: bash | ||
run: | | ||
npm ci | ||
npm run format package.json | ||
npm run test:all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,21 +15,24 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: '.nvmrc' | ||
# handle NPM / Node.js repeatedly bricking their npm setup on Windows | ||
# Note that this won't work if it uses --no-save | ||
- if: runner.os == 'Windows' | ||
shell: bash | ||
run: | | ||
npm install npm | ||
npm i npm | ||
# format package.json is to account for the above `npm i npm` command | ||
- name: run test | ||
shell: bash | ||
run: | | ||
npm ci | ||
npx playwright install --with-deps | ||
npm run format package.json | ||
npm run test:all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
exports[`Lint > fixes an invalid project 1`] = ` | ||
{ | ||
"logs": { | ||
"stdout": "Copied eslint.config.mjs\\nInstalling [email protected] [email protected] [email protected] @eslint/[email protected] @eslint/[email protected] @stylistic/[email protected] [email protected] @stylistic/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]...\\n> npx eslint --fix .\\n\\npackages/lint/test-files/bad-repo/src/a.ts\\n 3:8 error Async function 'doThing' has no 'await' expression @typescript-eslint/require-await\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n\\n✖ 2 problems (2 errors, 0 warnings)\\n", | ||
"stdout": "Copied eslint.config.mjs\\nInstalling [email protected] [email protected] [email protected] @eslint/[email protected] @eslint/[email protected] @stylistic/[email protected] [email protected] @stylistic/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]...\\n> npx eslint --fix .\\n\\na.ts\\n 3:8 error Async function 'doThing' has no 'await' expression @typescript-eslint/require-await\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n\\n✖ 2 problems (2 errors, 0 warnings)\\n", | ||
"stderr": "lint failed." | ||
}, | ||
"cwd": "packages/lint/test-files/bad-repo", | ||
|
@@ -34,7 +34,7 @@ exports[`Lint > lints a valid project 1`] = ` | |
exports[`Lint > lints an invalid project 1`] = ` | ||
{ | ||
"logs": { | ||
"stdout": "Copied eslint.config.mjs\\nInstalling [email protected] [email protected] [email protected] @eslint/[email protected] @eslint/[email protected] @stylistic/[email protected] [email protected] @stylistic/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]...\\n> npx eslint .\\n\\npackages/lint/test-files/bad-repo/src/a.ts\\n 3:8 error Async function 'doThing' has no 'await' expression @typescript-eslint/require-await\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n 4:12 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n 4:12 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion\\n 4:12 error Forbidden extra non-null assertion @typescript-eslint/no-extra-non-null-assertion\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n 4:12 error Forbidden extra non-null assertion @typescript-eslint/no-extra-non-null-assertion\\n\\n✖ 8 problems (8 errors, 0 warnings)\\n 4 errors and 0 warnings potentially fixable with the \`--fix\` option.\\n", | ||
"stdout": "Copied eslint.config.mjs\\nInstalling [email protected] [email protected] [email protected] @eslint/[email protected] @eslint/[email protected] @stylistic/[email protected] [email protected] @stylistic/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]...\\n> npx eslint .\\n\\na.ts\\n 3:8 error Async function 'doThing' has no 'await' expression @typescript-eslint/require-await\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n 4:12 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n 4:12 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion\\n 4:12 error Forbidden extra non-null assertion @typescript-eslint/no-extra-non-null-assertion\\n 4:12 error Forbidden non-null assertion @typescript-eslint/no-non-null-assertion\\n 4:12 error Forbidden extra non-null assertion @typescript-eslint/no-extra-non-null-assertion\\n\\n✖ 8 problems (8 errors, 0 warnings)\\n 4 errors and 0 warnings potentially fixable with the \`--fix\` option.\\n", | ||
"stderr": "lint failed." | ||
}, | ||
"cwd": "packages/lint/test-files/bad-repo", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.