Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Commit 6562937

Browse files
committed
Add build step to CI
1 parent 6d54e0b commit 6562937

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
23+
with:
24+
version: 9
25+
26+
- name: Setup Node.js 20.x
27+
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
28+
with:
29+
node-version: '20.x'
30+
cache: 'pnpm'
31+
32+
- name: Install dependencies
33+
run: pnpm install --frozen-lockfile --strict-peer-dependencies
34+
shell: bash
35+
36+
- name: Build project
37+
run: pnpm run build
38+
shell: bash
39+

0 commit comments

Comments
 (0)