Skip to content

Commit 3121cc3

Browse files
Merge pull request #57 from AndrewLeedham/ci/pr-build-check
CI: Run build check on pull requests
2 parents 49a96f1 + 21671ac commit 3121cc3

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Use Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20.x
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v3
22+
with:
23+
version: 9
24+
25+
- name: Install dependencies
26+
run: pnpm install
27+
28+
- name: Build
29+
run: pnpm run build

0 commit comments

Comments
 (0)