Skip to content

Commit 3489ebc

Browse files
authored
chore: add workflow for testing the build on PRs (#303)
1 parent 7b30bf2 commit 3489ebc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test-build.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test the build
2+
3+
# run CI on pushes to master, and on all PRs (even the ones that target other
4+
# branches)
5+
6+
on:
7+
push:
8+
branches: [master]
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Install and Build
19+
run: |
20+
npm install
21+
npm run docs:build

0 commit comments

Comments
 (0)