You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2022/12/12 17:04:05 UTC
[streampipes-website] branch dev updated: added workflow for PR validation (#40)
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 33161694 added workflow for PR validation (#40)
33161694 is described below
commit 331616941d425b75543891ab8e331c206bed64f5
Author: likileads <70...@users.noreply.github.com>
AuthorDate: Mon Dec 12 22:34:00 2022 +0530
added workflow for PR validation (#40)
---
.github/workflows/pr-validation.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
new file mode 100644
index 00000000..5bc6303b
--- /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