-
Notifications
You must be signed in to change notification settings - Fork 1
59 lines (50 loc) · 1.07 KB
/
build.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Build
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
actions: write
checks: write
contents: write
deployments: write
id-token: write
issues: write
discussions: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
jobs:
build:
name: Build
#runs-on: ubuntu-latest
runs-on: namespace-profile-btp-lite
steps:
- name: Checkout
uses: namespacelabs/nscloud-checkout-action@v5
with:
fetch-depth: 2
- name: Setup caches
uses: namespacelabs/nscloud-cache-action@v1
with:
path: |
./node_modules
./.next/cache
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Code Quality Checks
run: bun check
- name: Build
run: bun ci