-
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
24 changed files
with
240 additions
and
107 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,16 @@ 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 +57,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 +82,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 +113,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 +124,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 +143,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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"teamid": "team_ultraviolet", | ||
"apiurl": "https://turbopm2juoty-turbo.functions.fnc.fr-par.scw.cloud" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": ["//"], | ||
"tasks": { | ||
"typecheck": { | ||
"dependsOn": ["@ultraviolet/ui#build"] | ||
} | ||
} | ||
} |
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.