-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 852 Bytes
/
site_build.yml
File metadata and controls
44 lines (38 loc) · 852 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
37
38
39
40
41
42
43
44
name: Site Build
on:
push:
branches:
- "*"
paths:
- "./web/**/*.js"
- "./web/**/*.jsx"
- "./web/**/*.ts"
- "./web/**/*.tsx"
- "./web/**/*.mjs"
- "./web/**/*.css"
- "./web/**/*.cjs"
- "./web/**/*.astro"
pull_request:
types: [opened, reopened, synchronize]
paths:
- "./web/**/*.js"
- "./web/**/*.jsx"
- "./web/**/*.ts"
- "./web/**/*.tsx"
- "./web/**/*.mjs"
- "./web/**/*.css"
- "./web/**/*.cjs"
- "./web/**/*.astro"
jobs:
lint:
name: Build Site
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Build Site
run: bun run web:build