Skip to content

Commit

Permalink
WIP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
codykaup committed Oct 18, 2024
1 parent d2a75a7 commit 71ca8d7
Show file tree
Hide file tree
Showing 13 changed files with 119 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/package-size.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Chromatic Package Size

on:
workflow_call:
secrets:
Expand Down
68 changes: 64 additions & 4 deletions .github/workflows/pull-request-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,79 @@ on:
- reopened

jobs:
package-size:
uses: ./.github/workflows/package-size.yml
secrets:
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_API_KEY: ${{ secrets.UPSTASH_API_KEY }}

lint-and-test:
uses: ./.github/workflows/lint-and-test.yml
secrets:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}

package-size:
uses: ./.github/workflows/package-size.yml
chromatic:
uses: ./.github/workflows/chromatic-prod.yml
needs: lint-and-test
secrets:
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_API_KEY: ${{ secrets.UPSTASH_API_KEY }}
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

smoke-test-action:
uses: ./.github/workflows/smoke-test-action.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-node-api:
uses: ./.github/workflows/smoke-test-node-api.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-node-18:
uses: ./.github/workflows/smoke-test-node18.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-node-20:
uses: ./.github/workflows/smoke-test-node20.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-npx:
uses: ./.github/workflows/smoke-test-npx.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-windows:
uses: ./.github/workflows/smoke-test-windows.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-yarn:
uses: ./.github/workflows/smoke-test-yarn.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-yarn-berry:
uses: ./.github/workflows/smoke-test-yarn-berry.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-yarn-canary:
uses: ./.github/workflows/smoke-test-yarn-canary.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}

smoke-test-yarn-classic:
uses: ./.github/workflows/smoke-test-yarn-classic.yml
needs: lint-and-test
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
Empty file modified .github/workflows/smoke-test-action-next.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/smoke-test-action.yml
100755 → 100644
Empty file.
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-node-api.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via node api
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-node18.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via Node 18
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-node20.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via Node 20
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-npx.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via npx
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via yarn on Windows
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-yarn-berry.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via yarn berry
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-yarn-canary.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via yarn canary
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-yarn-classic.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via yarn classic
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-test-yarn.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Smoke test via yarn
on: push

on:
workflow_call:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true

permissions:
contents: read
Expand Down

0 comments on commit 71ca8d7

Please sign in to comment.