Skip to content

ci: Disable api tests to investigate ci test issue #36

ci: Disable api tests to investigate ci test issue

ci: Disable api tests to investigate ci test issue #36

Workflow file for this run

on:
pull_request:
branches: [ "main", "development" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache Rush
uses: actions/cache@v2
with:
path: |
common/temp/install-run
~/.rush
key: ${{ runner.os }}-${{ hashFiles('rush.json') }}
- name: Cache pnpm
uses: actions/cache@v2
with:
path: |
common/temp/pnpm-store
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
#- name: Verify Change Logs
# run: node common/scripts/install-run-rush.js change --verify
- name: Rush Install
run: node common/scripts/install-run-rush.js install
- name: Rush build
run: node common/scripts/install-run-rush.js build --to tag:ci --verbose
- name: Rush List
run: node common/scripts/install-run-rush.js list --only git:HEAD~1
- name: Run Lint
run: node common/scripts/install-run-rush.js lint --from git:HEAD~1 --verbose
- name: Run Deps
run: node common/scripts/install-run-rush.js deps --from git:HEAD~1 --verbose
- name: Run DepCheck
run: node common/scripts/install-run-rush.js depcheck --from git:HEAD~1 --verbose
- name: Run Check
run: node common/scripts/install-run-rush.js check --verbose
unit_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache Rush
uses: actions/cache@v2
with:
path: |
common/temp/install-run
~/.rush
key: ${{ runner.os }}-${{ hashFiles('rush.json') }}
- name: Cache pnpm
uses: actions/cache@v2
with:
path: |
common/temp/pnpm-store
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Rush Install
run: node common/scripts/install-run-rush.js install
- name: Rush rebuild
run: node common/scripts/install-run-rush.js build --to tag:ci --verbose
- name: Rush List
run: node common/scripts/install-run-rush.js list --only git:HEAD~1
- name: Run Test
run: node common/scripts/install-run-rush.js test --from git:HEAD~1 --verbose