Skip to content

Commit f2ba0dd

Browse files
authored
ci: add build check workflow (#114)
1 parent 2fe6d40 commit f2ba0dd

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
permissions:
9+
pull-requests: read
10+
11+
jobs:
12+
########### BUILD PACKAGE ############
13+
build-package:
14+
name: Build Package
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: PNPM Install
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 9.1.3
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 20.10.0
29+
cache: 'pnpm'
30+
registry-url: https://registry.npmjs.org/
31+
32+
- run: corepack enable
33+
34+
- name: Install NPM Dependencies
35+
run: pnpm install --frozen-lockfile
36+
37+
- name: Build Library Check
38+
if: ${{ always() }}
39+
run: pnpm build

0 commit comments

Comments
 (0)