Skip to content

Version Packages (#203) #75

Version Packages (#203)

Version Packages (#203) #75

Workflow file for this run

name: Basic workflow
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install
- name: Type checking and generate .d.ts files before packaging
run: yarn tsc
- name: Build all
run: yarn build:all
- name: check api reports
run: yarn build:api-reports --ci
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install
- name: Test
run: yarn test
format:
name: Formatting and linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: fetch branch main
run: git fetch origin main
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install
- name: Prettier
run: yarn prettier:check
- name: Linting
run: yarn lint
- name: lint openapi yaml files
run: yarn backstage-repo-tools repo schema openapi lint