Skip to content

[actions]: bump actions/setup-node from 2 to 3 #447

[actions]: bump actions/setup-node from 2 to 3

[actions]: bump actions/setup-node from 2 to 3 #447

Workflow file for this run

name: Test PR
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
scope: "@hpcc-js"
- run: npm ci
- run: npm run lint
- run: sudo apt-get update
- run: sudo apt-get install -y build-essential
- run: sudo apt-get install -y git cmake wget zip
- run: sudo apt-get install -y gcc-multilib g++-multilib pkg-config autoconf bison libtool flex
- run: sudo apt-get install -y python3 python3-pip
- run: npm run install-build-deps
- run: npm run build;
- run: npm run test;
env:
CI: true
- run: npm run coverage
- run: npm run coverage-report
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}