Skip to content

[Issue #20] Improve tooling for specs/ #7

[Issue #20] Improve tooling for specs/

[Issue #20] Improve tooling for specs/ #7

Workflow file for this run

name: CI - Specifications
on:
workflow_call:
pull_request:
paths:
- specs/**
- .github/workflows/ci-specs.yml
defaults:
run:
working-directory: ./specs
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
# Installs dependencies directly from package.lock
# and skips dependency resolution etc.
run: npm ci
- name: Lint and format
run: |
npm run check:lint
npm run check:format
- name: Build library
run: npm run build
- name: Audit dependencies
run: npm audit --production