-
Notifications
You must be signed in to change notification settings - Fork 62
39 lines (35 loc) · 1.06 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-22.04
strategy:
matrix:
node: ["22", "20", "18"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
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.4.34-1/hpccsystems-platform-community_9.4.34-1jammy_amd64_withsymbols.deb
- name: Install HPCC Platform
continue-on-error: true
run: sudo apt install -f ./hpccsystems-platform-community_9.4.34-1jammy_amd64_withsymbols.deb
- run: sudo /etc/init.d/hpcc-init start
- run: npm run test
env:
CI: true