-
Notifications
You must be signed in to change notification settings - Fork 62
39 lines (35 loc) · 1.05 KB
/
testPullRequest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Test PR
on:
push:
branches: [trunk]
pull_request:
branches: [trunk]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
registry-url: "https://registry.npmjs.org"
scope: "@hpcc-js"
- run: npm ci
- run: npm run lint-all
- run: npm run build
- run: npm run compile-umd
- run: npm run build-gallery
- run: npm run build-test
- run: sudo apt-get update
- run: wget https://github.com/hpcc-systems/HPCC-Platform/releases/download/community_9.0.14-1/hpccsystems-platform-community_9.0.14-1focal_amd64_withsymbols.deb
- name: Install HPCC Platform
continue-on-error: true
run: sudo apt install -f ./hpccsystems-platform-community_9.0.14-1focal_amd64_withsymbols.deb
- run: sudo /etc/init.d/hpcc-init start
- run: npm run test
env:
CI: true