Skip to content

Added cSpell command and GitHub action #1278

Added cSpell command and GitHub action

Added cSpell command and GitHub action #1278

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
- release/*
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Configure git
run: |
git config --local user.email [email protected]
git config --local user.name imodeljs-admin
- 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 build
run: node common/scripts/install-run-rush.js build -v -p max
- name: core-react tests
run: npm run cover
working-directory: ui/core-react
- name: components-react tests
run: npm run cover
working-directory: ui/components-react
- name: imodel-components-react tests
run: npm run cover
working-directory: ui/imodel-components-react
- name: appui-react tests
run: npm run cover
working-directory: ui/appui-react
extract-api:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Configure git
run: |
git config --local user.email [email protected]
git config --local user.name imodeljs-admin
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Rush install
run: node common/scripts/install-run-rush.js install
- name: Rush build
run: node common/scripts/install-run-rush.js build -v -p max --to-version-policy prerelease-monorepo-lockStep
- name: Rush extract-api
run: node common/scripts/install-run-rush.js extract-api
- name: Publish extracted api
uses: actions/upload-artifact@v4
with:
name: extracted-api
path: common/api