chore(deps-dev): bump typescript from 5.5.3 to 5.6.2 #455
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
typecheck-outputs: | |
name: π Typecheck Outputs / ${{ matrix.typescript-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
typescript-version: | |
- '~5.2.0' | |
- '~5.1.0' | |
# We use features that were added in v5.0 of typescript, so that is | |
# the lowest we can go here. This also means this is the lowest | |
# version we support. When this value changes in the future it needs | |
# to be communicated to the users. | |
- '~5.0.0' | |
steps: | |
- name: β¬οΈ Checkout repo | |
uses: actions/checkout@v4 | |
- name: πͺ‘ Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: π¦ Install Dependencies | |
run: npm install | |
# Order is important here, we build with the typescript version defined | |
# in package.json, before we overrite it for the tests. | |
- name: ποΈ Build | |
run: npm run build | |
- name: π Install Typescript | |
run: npm install --dev typescript@${{ matrix.typescript-version }} | |
- name: π Type check | |
run: npm run tsc:dist | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
- name: β¬οΈ Checkout repo | |
uses: actions/checkout@v4 | |
- name: πͺ‘ Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: π¦ Install Dependencies | |
run: npm install | |
- name: β‘ Run tests | |
run: | | |
npm run test | |
- name: π¦ Lint | |
run: | | |
npm run lint | |
- name: π§πΏββοΈ TSC | |
run: | | |
npm run tsc | |
- name: π₯ Generate npm package | |
run: | | |
npm run build |