Support Typescript 5.6 #210
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- 'main' | |
env: | |
CI: true | |
jobs: | |
pullRequestBuild: | |
name: Pull Request Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20.x', '22.x', '23.x'] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci --ignore-scripts | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Prepare | |
run: npm run prepare | |
- name: Compile | |
run: npm run ci:compile | |
- name: Check Code Style | |
run: npm run ci:style | |
- name: Perform Linting | |
run: npm run ci:lint | |
- name: Run Tests | |
run: npm run ci:test | |
branchBuild: | |
name: Branch Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20.x', '22.x', '23.x'] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci --ignore-scripts | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Prepare | |
run: npm run prepare | |
- name: Compile | |
run: npm run ci:compile | |
- name: Check Code Style | |
run: npm run ci:style | |
- name: Perform Linting | |
run: npm run ci:lint | |
- name: Run Tests | |
run: npm run ci:test |