Skip to content

β«πŸŒ™ Promoting release 2308312118000 to Nightly channel #1870

β«πŸŒ™ Promoting release 2308312118000 to Nightly channel

β«πŸŒ™ Promoting release 2308312118000 to Nightly channel #1870

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Get diff
id: get-diff
run: |
DIFF=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)
echo "diff=${DIFF}" >> $GITHUB_OUTPUT
- name: Run Prettier
run: npm run prettier
- name: Run ESLint
run: npm run lint
- name: Check TypeScript
run: tsc --noEmit
- name: Run unit tests
run: npx ts-mocha ./test/scripts/*.ts
- name: Check configs
run: npx ts-mocha ./test/check-json-schemas.ts
- name: Check versions.json whitespace
run: npx ts-mocha ./test/check-versions-whitespace.ts
- name: Check file changes
run: npx ts-mocha ./test/check-file-changes.ts --diff="${{ steps.get-diff.outputs.diff }}"
- name: Check releases
run: npx ts-mocha ./test/check-live-release.ts --diff="${{ steps.get-diff.outputs.diff }}"