-
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.
fix configurations
- Loading branch information
tal-rofe
committed
Feb 4, 2023
1 parent
71e03a0
commit 40170e6
Showing
9 changed files
with
4,813 additions
and
4,532 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
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 |
---|---|---|
|
@@ -4,34 +4,96 @@ on: | |
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test_pull_request: | ||
name: Testing & Checking the code | ||
runs-on: ubuntu-latest | ||
depcheck: | ||
name: Testing Depcheck | ||
|
||
runs-on: [self-hosted, Linux, X64, integration] | ||
steps: | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Test Depcheck | ||
run: pnpm depcheck | ||
|
||
inflint: | ||
name: Testing Inflint | ||
|
||
runs-on: [self-hosted, Linux, X64, integration] | ||
steps: | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Test Inflint | ||
run: pnpm inflint | ||
|
||
typescript: | ||
name: Testing TypeScript | ||
|
||
runs-on: [self-hosted, Linux, X64, integration] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Test TypeScript | ||
run: pnpm type-check | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
prettier: | ||
name: Testing Prettier | ||
|
||
runs-on: [self-hosted, Linux, X64, integration] | ||
steps: | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 16 | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Installing dependencies | ||
run: yarn install --immutable --immutable-cache --check-cache | ||
- name: Test Prettier | ||
run: pnpm prettier | ||
|
||
- name: Check unused dependencies | ||
run: yarn run depcheck | ||
eslint: | ||
name: Testing ESLint | ||
|
||
- name: Check Typescript | ||
run: yarn run type-check | ||
runs-on: [self-hosted, Linux, X64, integration] | ||
steps: | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Test ESLint | ||
run: pnpm lint | ||
|
||
- name: Check ESLint | ||
run: yarn run lint | ||
dist: | ||
name: Testing dist | ||
|
||
- name: Check Inflint | ||
run: yarn run inflint | ||
runs-on: [self-hosted, Linux, X64, integration] | ||
steps: | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Check dist command | ||
run: yarn run dist | ||
- name: Test dist | ||
run: pnpm 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,19 +10,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
- name: Setup Node environment | ||
uses: Exlint/[email protected] | ||
with: | ||
node-version: 16 | ||
|
||
- name: Installing dependencies | ||
run: yarn install --immutable --immutable-cache --check-cache | ||
node-version: 18.13.0 | ||
package-manager: pnpm | ||
package-manager-version: 7.26.3 | ||
|
||
- name: Build dist folder | ||
run: yarn run dist | ||
run: pnpm dist | ||
|
||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v2 | ||
|
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,3 @@ | ||
save-exact=true | ||
stream=true | ||
strict-peer-dependencies=false |
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.