Merge pull request #4234 from hpcc-systems/dependabot/npm_and_yarn/ap… #1837
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |