Skip to content

Migrate to npm, add new jest GH Action test annotations #186

Migrate to npm, add new jest GH Action test annotations

Migrate to npm, add new jest GH Action test annotations #186

Workflow file for this run

name: Continuous Integration
on: pull_request
jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm ci
- name: Run the linter
run: npm run lint
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm ci
- name: Run Tests
run: |
npm test -- --ci --reporters='["github-actions", {"silent": false}]' --reporters=default
env:
CONDUCTOR_SERVER_URL: ${{ vars.SERVER_URL }}
CONDUCTOR_AUTH_KEY: ${{ secrets.AUTH_KEY }}
CONDUCTOR_AUTH_SECRET: ${{ secrets.AUTH_SECRET }}