Skip to content

Commit 73e2bbf

Browse files
arbrandesclaude
andcommitted
ci: add build workflow
Adds a GitHub Actions workflow that runs npm run build on pushes to main and all pull requests, so changes that break the webpack build are caught in CI. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 16e9a8d commit 73e2bbf

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: node_CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
tests:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Nodejs
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version-file: '.nvmrc'
23+
24+
- name: Install Dependencies
25+
run: npm ci
26+
27+
- name: Build
28+
run: npm run build

0 commit comments

Comments
 (0)