-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 809 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (28 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on:
pull_request:
branches: [dev, main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint and format checks
run: bun run check
- name: Run unit tests
run: bun test --pass-with-no-tests
- name: Generator sync check
run: |
bun run build
if ! git diff --exit-code -- themes/; then
echo "::error::Generated theme artifacts are out of sync with palette/. Run 'bun run build' and commit the results."
git diff -- themes/
exit 1
fi