-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (35 loc) · 941 Bytes
/
ci.yml
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
name: CI
on:
push:
branches: ["development"]
pull_request:
types: [opened, synchronize]
jobs:
test-build:
name: lintrc
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Set up Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup bun
uses: oven-sh/setup-bun@v1
- name: Setup prettier
run: bun i prettier -D
- name: prettierrc
run: bun prettier --write app/*
- name: Install dependencies
run: bun i
- name: Building
run: bun build app/layout.tsx --outdir ./dist
env:
REACT_SUPABASE_URL: "https://random.supabase.co"
REACT_SUPABASE_ANON_KEY: "123"
- name: lintrc
run: bun lint
env:
REACT_SUPABASE_URL: "https://random.supabase.co"
REACT_SUPABASE_ANON_KEY: "123"