-
Notifications
You must be signed in to change notification settings - Fork 1
71 lines (55 loc) · 1.95 KB
/
Copy pathlint.and.build.yml
File metadata and controls
71 lines (55 loc) · 1.95 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: 🔎 Lint
on:
workflow_dispatch:
push:
branches-ignore: [gh-pages]
pull_request:
branches-ignore: [gh-pages]
types: [opened, synchronize]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
HUSKY: '0'
jobs:
build:
name: 🔨 Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- name: ⚡ Install dependencies
run: bun install --frozen-lockfile
- name: 🔨 Build
run: bun run build:lib
test:
name: 🧪 Test
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- name: ⚡ Install dependencies
run: bun install --frozen-lockfile
- name: 🧪 Test
run: bun run test:coverage
lint:
name: 🔎 Lint
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- name: ⚡ Install dependencies
run: bun install --frozen-lockfile
- name: 🔎 Lint
run: bun run lint