Skip to content

Commit a9157e3

Browse files
committed
chore(ci): add workflows
1 parent 488b2a5 commit a9157e3

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/workflows/format.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
jobs:
10-
prettier:
10+
format:
1111
if: github.repository_owner == 'bombshell-dev'
1212
uses: bombshell-dev/automation/.github/workflows/format.yml@main
1313
secrets: inherit

.github/workflows/preview.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Preview
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
format:
7+
if: github.repository_owner == 'bombshell-dev'
8+
uses: bombshell-dev/automation/.github/workflows/preview.yml@main
9+
secrets: inherit
10+
with:
11+
publish: '.'

.github/workflows/publish.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: CI
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
ci:
11+
if: github.repository_owner == 'bombshell-dev'
12+
uses: bombshell-dev/automation/.github/workflows/publish.yml@main
13+
secrets: inherit
14+

0 commit comments

Comments
 (0)