Skip to content

Commit d00a6a2

Browse files
authored
simplify workflow configuration (#492)
1 parent c5efaa2 commit d00a6a2

8 files changed

Lines changed: 60 additions & 49 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Checkout Liminal
2+
description: Checkout Liminal and initialize required submodules.
3+
runs:
4+
using: composite
5+
steps:
6+
- shell: bash
7+
run: |
8+
git -c url.https://github.com/.insteadOf=git@github.com: submodule update --init --depth 1 -- konfik crosshatch
9+
git -c url.https://github.com/.insteadOf=git@github.com: -C crosshatch submodule update --init --depth 1 -- konfik

.github/workflows/changesets.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ jobs:
1919
- run: |
2020
git config user.name "madhatcher"
2121
git config user.email "144481279+madhatcher@users.noreply.github.com"
22-
- run: |
23-
git -c url.https://github.com/.insteadOf=git@github.com: submodule update --init --depth 1 -- konfik crosshatch
24-
git -c url.https://github.com/.insteadOf=git@github.com: -C crosshatch submodule update --init --depth 1 -- konfik
25-
- uses: crosshatch/konfik/.github/actions/configure_environment@main
22+
- uses: ./.github/actions/checkout-liminal
23+
- uses: ./konfik/configure-environment
2624
- run: pnpm build
2725
- uses: changesets/action@v1
2826
with:

.github/workflows/check.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ jobs:
1818
contents: read
1919
steps:
2020
- uses: actions/checkout@v6
21-
- run: |
22-
git -c url.https://github.com/.insteadOf=git@github.com: submodule update --init --depth 1 -- konfik crosshatch
23-
git -c url.https://github.com/.insteadOf=git@github.com: -C crosshatch submodule update --init --depth 1 -- konfik
24-
- uses: crosshatch/konfik/.github/actions/configure_environment@main
21+
- uses: ./.github/actions/checkout-liminal
22+
- uses: ./konfik/configure-environment
2523
- run: pnpm format --check
2624
- run: pnpm lint
2725
- run: pnpm build

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ jobs:
2222
timeout-minutes: 10
2323
steps:
2424
- uses: actions/checkout@v6
25-
- run: |
26-
git -c url.https://github.com/.insteadOf=git@github.com: submodule update --init --depth 1 -- konfik crosshatch
27-
git -c url.https://github.com/.insteadOf=git@github.com: -C crosshatch submodule update --init --depth 1 -- konfik
28-
- uses: crosshatch/konfik/.github/actions/configure_environment@main
25+
- uses: ./.github/actions/checkout-liminal
26+
- uses: ./konfik/configure-environment
2927
- run: pnpm build
3028
- uses: alchemy-run/alchemy-effect@main
3129
with:

konfik

pnpm-lock.yaml

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ minimumReleaseAgeExclude:
3434
- turbo@2.9.18
3535
- vite@8.1.2
3636
- vocs@2.6.2
37+
- "@effect/tsgo-darwin-arm64@0.24.2"
38+
- "@effect/tsgo-darwin-x64@0.24.2"
39+
- "@effect/tsgo-linux-arm64@0.24.2"
40+
- "@effect/tsgo-linux-arm@0.24.2"
41+
- "@effect/tsgo-linux-x64@0.24.2"
42+
- "@effect/tsgo-win32-arm64@0.24.2"
43+
- "@effect/tsgo-win32-x64@0.24.2"
44+
- "@effect/tsgo@0.24.2"
3745

3846
allowBuilds:
3947
bigint-buffer: false
@@ -104,7 +112,7 @@ catalog:
104112
"@vitest/expect": ^4.1.10
105113
"@vitest/web-worker": ^4.1.10
106114
alchemy: ^2.0.0-beta.63
107-
"@effect/tsgo": ^0.16.0
115+
"@effect/tsgo": 0.24.2
108116
babel-plugin-react-compiler: ^1.0.0
109117
class-variance-authority: ^0.7.1
110118
clsx: ^2.1.1

0 commit comments

Comments
 (0)