added workflow for PR validation (#40)
diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
new file mode 100644
index 0000000..5bc6303
--- /dev/null
+++ b/.github/workflows/pr-validation.yml
@@ -0,0 +1,27 @@
+name: validate-pr
+
+on:
+ pull_request:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v1
+ with:
+ node-version: '14.x'
+
+ - name: Build website
+ run: |
+ npm install
+ npm run build-website
+
+ - name: Build documentation
+ run: |
+ cd documentation/website
+ npm install
+ npm run build
\ No newline at end of file