Skip to content

chore: add Backstage catalog-info.yaml #30

chore: add Backstage catalog-info.yaml

chore: add Backstage catalog-info.yaml #30

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
name: Test & Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run linter
run: yarn lint
- name: Run type check
run: yarn type
- name: Run tests
run: yarn test --run
- name: Build package
run: yarn build
- name: Install example dependencies
working-directory: ./example
run: yarn install --frozen-lockfile
- name: Build example
working-directory: ./example
run: yarn build
- name: Check for security vulnerabilities
run: yarn audit --level moderate
continue-on-error: true