Skip to content

Commit 7256bda

Browse files
authored
chore(*): Add GHA to build with retheme flag on PRs (#2248)
* chore(*): Add GHA to build with retheme flag on PRs * chore(*): Add empty changeset
1 parent 920c9e1 commit 7256bda

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.changeset/chilly-pens-speak.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build Retheme packages
2+
run-name: Build Retheme packages
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.actor }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build-retheme:
15+
runs-on: ${{ vars.RUNNER_NORMAL }}
16+
timeout-minutes: ${{ fromJSON(vars.TIMEOUT_MINUTES_NORMAL) }}
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
steps:
21+
- name: Checkout repo
22+
uses: actions/checkout@v4
23+
24+
- name: Setup
25+
id: config
26+
uses: ./.github/actions/init
27+
with:
28+
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
29+
turbo-team: ${{ vars.TURBO_TEAM }}
30+
turbo-token: ${{ secrets.TURBO_TOKEN }}
31+
registry-url: "https://registry.npmjs.org"
32+
33+
- name: Build packages
34+
run: |
35+
CLERK_RETHEME=1 npx turbo build --force

0 commit comments

Comments
 (0)