-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexandre Philibeaux <[email protected]>
- Loading branch information
Showing
16 changed files
with
219 additions
and
59 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 |
---|---|---|
|
@@ -11,6 +11,9 @@ on: | |
jobs: | ||
typecheck: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_REMOTE_ONLY: true | ||
steps: | ||
- uses: actions/checkout@v4 # v4.1.4 | ||
- uses: pnpm/[email protected] | ||
|
@@ -19,12 +22,15 @@ jobs: | |
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: pnpm install | ||
- run: pnpm typecheck | ||
- run: | | ||
pnpm install | ||
pnpm typecheck | ||
lint: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_REMOTE_ONLY: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
|
@@ -33,12 +39,17 @@ jobs: | |
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: pnpm install | ||
- run: pnpm run lint | ||
- run: | | ||
pnpm install | ||
pnpm run build | ||
pnpm run lint | ||
|
||
format: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_REMOTE_ONLY: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
|
@@ -47,12 +58,17 @@ jobs: | |
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: pnpm install | ||
- run: pnpm run format:ci | ||
- run: | | ||
pnpm install | ||
pnpm run build | ||
pnpm run lint | ||
pnpm run format:ci | ||
test: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_REMOTE_ONLY: true | ||
needs: [lint, typecheck, format] | ||
strategy: | ||
matrix: | ||
|
@@ -67,10 +83,10 @@ jobs: | |
with: | ||
node-version: ${{ matrix.node }} | ||
cache: "pnpm" | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: pnpm install | ||
- run: pnpm run test:unit:coverage | ||
- run: | | ||
pnpm install | ||
pnpm run build | ||
pnpm run test:unit:coverage | ||
- uses: codecov/[email protected] | ||
with: | ||
# files: packages/**/coverage/cobertura-coverage.xmls | ||
|
@@ -98,6 +114,9 @@ jobs: | |
matrix: | ||
node: ["20"] | ||
runs-on: ubuntu-22.04 | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_REMOTE_ONLY: true | ||
needs: [lint, typecheck, format] | ||
steps: | ||
- uses: actions/checkout@v4 # v4.1.4 | ||
|
@@ -106,13 +125,17 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: | | ||
pnpm install | ||
pnpm run build | ||
build-examples: # This will build all projects in the examples folder, it assures that all examples are working | ||
strategy: | ||
matrix: | ||
node: ["20"] | ||
runs-on: ubuntu-22.04 | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_REMOTE_ONLY: true | ||
needs: [lint, test, format] | ||
steps: | ||
- uses: actions/checkout@v4 # v4.1.4 | ||
|
@@ -121,7 +144,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpm install | ||
- run: pnpm run build:examples | ||
- run: | | ||
pnpm install | ||
pnpm run build:examples |
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 |
---|---|---|
|
@@ -7,14 +7,14 @@ jobs: | |
check-title: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 # v4.1.4 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
- name: Use Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
- run: pnpm install | ||
- run: pnpm install --prod | ||
- name: Check PR title | ||
env: | ||
TITLE: ${{ github.event.pull_request.title }} | ||
|
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,6 +15,8 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: pnpm run size:packages | ||
- run: | | ||
pnpm install | ||
pnpm run size | ||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} |
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
Oops, something went wrong.