Skip to content

Commit d412806

Browse files
committed
Add a CI action to test that the app builds in a PR
1 parent 4496c2d commit d412806

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches: [build]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Setup node
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: '14.x'
14+
- name: Install dependencies
15+
run: npm ci
16+
- name: Build site
17+
run: npm run build

0 commit comments

Comments
 (0)