Skip to content

including .mocharc #840

including .mocharc

including .mocharc #840

Workflow file for this run

name: Service core CI
on:
pull_request:
branches:
- '*'
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.16.0]
steps:
- name: Install `just`
uses: extractions/setup-just@v2
- name: Download master branch
uses: actions/checkout@v4
- name: Install Node.js with version ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# there is one private package (lib-release) used as npm package, so we need
# to authenticate
- name: Login to github
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.TECH_PRYV_SSH_KEY }}
- name: Install & run nats-server, mongodb, influxdb
run: ./scripts/setup-ci
- name: Install node modules
run: just install-stable
- name: Run all tests
run: IS_CI=true just test all