-
-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(repo): remove circle ci, add validate workflow, update deps (#867)
* chore(repo): remove circle ci, add validate workflow, update deps * chore: add node 16, remove 10 * chore: add filters to workflows * chore: update workflow names * chore: centralize linting * chore: linting updates after consolidation * chore: update snaps * chore: more linting fixes * chore: update windows workflow to limit runs
- Loading branch information
1 parent
3a543df
commit fba0a6b
Showing
73 changed files
with
1,449 additions
and
1,708 deletions.
There are no files selected for viewing
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
.eslintrc.js | ||
**/dist | ||
**/node_modules | ||
**/test/**/output | ||
packages/commonjs/test/fixtures | ||
packages/typescript/test/fixtures/syntax-error |
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,31 +1,41 @@ | ||
name: Node | ||
name: Windows | ||
|
||
on: [push, pull_request] | ||
on: | ||
pull_request: | ||
types: | ||
- edited | ||
- opened | ||
- synchronize | ||
push: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
|
||
strategy: | ||
matrix: | ||
node: [ '12', '10' ] | ||
node: ["16", "14", "12"] | ||
|
||
name: ${{ matrix.node }} (Windows) | ||
name: Node v${{ matrix.node }} | ||
steps: | ||
- name: Configure git line-breaks | ||
run: git config --global core.autocrlf false | ||
- name: Checkout Commit | ||
uses: actions/checkout@v1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: checkout master | ||
run: git branch -f master origin/master | ||
- name: install pnpm | ||
run: npm install pnpm -g | ||
- name: pnpm install | ||
run: pnpm install --ignore-scripts | ||
- name: run tests | ||
run: pnpm run ci:test | ||
- name: Configure git line-breaks | ||
run: git config --global core.autocrlf false | ||
|
||
- name: Checkout Commit | ||
uses: actions/checkout@v1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: install pnpm | ||
run: npm install pnpm -g | ||
|
||
- name: pnpm install | ||
run: pnpm install --ignore-scripts | ||
|
||
- name: run tests | ||
run: pnpm run ci:test --filter ...[${{ github.sha }}] |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Validate Monorepo | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- edited | ||
- opened | ||
- synchronize | ||
push: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node: ["16", "14", "12"] | ||
|
||
name: Node v${{ matrix.node }} | ||
|
||
steps: | ||
- name: Checkout Commit | ||
uses: actions/checkout@v1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install pnpm | ||
run: npm install pnpm -g | ||
|
||
- name: Sanity Check | ||
run: | | ||
echo branch `git branch --show-current`; | ||
echo node `node --version`; | ||
echo yarn `pnpm --version` | ||
- name: pnpm install | ||
run: pnpm install | ||
|
||
- name: Audit Dependencies | ||
run: pnpm security | ||
|
||
- name: Build Packages | ||
run: pnpm build --recursive | ||
|
||
- name: Lint Monorepo | ||
run: pnpm lint --recursive | ||
|
||
- name: Run Tests | ||
run: pnpm ci:coverage --filter ...[${{ github.sha }}] |
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,3 +1,4 @@ | ||
enable-pre-post-scripts = true | ||
link-workspace-packages = false | ||
shamefully-hoist = true | ||
shared-workspace-shrinkwrap = true |
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 +1 @@ | ||
12 | ||
14 |
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,3 +1,6 @@ | ||
.github/ISSUE_TEMPLATE | ||
.github/ISSUE_TEMPLATE.md | ||
.github/PULL_REQUEST_TEMPLATE.md | ||
packages/json/test/fixtures/garbage/* | ||
packages/yaml/test/fixtures/**/* | ||
**/dist |
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,4 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": [ | ||
"src/**/*", | ||
"types/**/*" | ||
] | ||
"include": ["src/**/*", "types/**/*"] | ||
} |
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 +1 @@ | ||
{} | ||
{} |
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,4 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": [ | ||
"src/**/*", | ||
"types/**/*" | ||
] | ||
"include": ["src/**/*", "types/**/*"] | ||
} |
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,4 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": [ | ||
"src/**/*", | ||
"types/**/*" | ||
] | ||
"include": ["src/**/*", "types/**/*"] | ||
} |
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.