-
Notifications
You must be signed in to change notification settings - Fork 38
47 lines (36 loc) · 1.02 KB
/
ci.yml
File metadata and controls
47 lines (36 loc) · 1.02 KB
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
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
pull_request: {}
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check-types:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.1
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Check types
run: bun run check-types
- name: Build browser embed package
run: bun run build --filter @cossistant/browser
# Temporarily disabled while we pause widget JS size enforcement.
# - name: Check browser embed bundle size
# run: bun run check:browser-embed-size
- name: Build example integration app
run: bun run build --filter @cossistant/example-nextjs-tailwind