Skip to content

move audit and lint to gh action #2

move audit and lint to gh action

move audit and lint to gh action #2

Workflow file for this run

name: "CI"
on:
workflow_dispatch:
pull_request:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- 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: "22"
- name: Rush install
run: node common/scripts/install-run-rush.js install
audit:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Rush audit
run: node common/scripts/install-run-rush.js audit
lint:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Rush build
run: node common/scripts/install-run-rush.js build
- name: Rush lint
run: node common/scripts/install-run-rush.js lint