Skip to content

Commit

Permalink
chore(*): Add GHA to build with retheme flag on PRs (#2248)
Browse files Browse the repository at this point in the history
* chore(*): Add GHA to build with retheme flag on PRs

* chore(*): Add empty changeset
  • Loading branch information
anagstef authored Dec 4, 2023
1 parent 920c9e1 commit 7256bda
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changeset/chilly-pens-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
35 changes: 35 additions & 0 deletions .github/workflows/ui-retheme-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build Retheme packages
run-name: Build Retheme packages

on:
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.actor }}
cancel-in-progress: true

jobs:
build-retheme:
runs-on: ${{ vars.RUNNER_NORMAL }}
timeout-minutes: ${{ fromJSON(vars.TIMEOUT_MINUTES_NORMAL) }}
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup
id: config
uses: ./.github/actions/init
with:
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
turbo-team: ${{ vars.TURBO_TEAM }}
turbo-token: ${{ secrets.TURBO_TOKEN }}
registry-url: "https://registry.npmjs.org"

- name: Build packages
run: |
CLERK_RETHEME=1 npx turbo build --force

0 comments on commit 7256bda

Please sign in to comment.