Skip to content

Merge pull request #3 from xbow-engineering/tracebit-onboarding #5

Merge pull request #3 from xbow-engineering/tracebit-onboarding

Merge pull request #3 from xbow-engineering/tracebit-onboarding #5

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build_nodejs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ matrix.node-version }}
- name: Provisioning
run: |
docker --version
node -v
docker pull ubuntu
- name: NPM install
run: npm install
- name: NPM test
run: npm test