Merge branch 'main' into incoming-input #805
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |