Skip to content

Merge pull request #4230 from hpcc-systems/dependabot/npm_and_yarn/we… #1838

Merge pull request #4230 from hpcc-systems/dependabot/npm_and_yarn/we…

Merge pull request #4230 from hpcc-systems/dependabot/npm_and_yarn/we… #1838

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