build(deps): Update dependency typescript to v5.7.2 #5215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
prepare-npm-cache-ubuntu: | |
uses: ./.github/workflows/prepare-cache.yml | |
with: | |
os: ubuntu-latest | |
prepare-npm-cache-windows: | |
uses: ./.github/workflows/prepare-cache.yml | |
with: | |
os: windows-latest | |
lint: | |
runs-on: ubuntu-latest | |
needs: prepare-npm-cache-ubuntu | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: lts/* | |
cache: npm | |
- name: install | |
run: npm ci | |
- name: run eslint | |
run: npm run lint | |
- name: run prettier | |
run: npm run lint-prettier-ci | |
npm-validate: | |
name: validate NPM dependencies | |
runs-on: ubuntu-latest | |
needs: prepare-npm-cache-ubuntu | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: lts/* | |
cache: npm | |
test-ubuntu: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
contents: read # for actions/checkout to fetch code | |
uses: ./.github/workflows/test.yml | |
needs: prepare-npm-cache-ubuntu | |
with: | |
os: ubuntu-latest | |
test-windows: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
contents: read # for actions/checkout to fetch code | |
uses: ./.github/workflows/test.yml | |
needs: prepare-npm-cache-windows | |
with: | |
os: windows-latest | |
finish: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
needs: [test-ubuntu, test-windows] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls finished | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} | |
parallel-finished: true | |
env: | |
CI: true |