зеркало из https://github.com/microsoft/backfill.git
41 строка
737 B
YAML
41 строка
737 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
name: Run on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version-file: .nvmrc
|
|
|
|
- name: yarn
|
|
run: yarn --frozen-lockfile
|
|
|
|
- name: verify change files
|
|
run: yarn checkchange
|
|
|
|
- name: check package versions
|
|
run: yarn syncpack:check
|
|
|
|
- run: yarn build
|
|
|
|
- run: yarn lint
|
|
- run: yarn format:check
|
|
|
|
- run: yarn test
|