build(deps-dev): bump typescript from 4.7.4 to 5.3.3 #50
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: | |
push: | |
jobs: | |
lint: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [16, 18, 20] | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v4 | |
- name: Setup node env π | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Cache node_modules π¦ | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.node }}-node- | |
- name: Install dependencies π¨π»βπ» | |
run: npm install | |
- name: Build project | |
run: npm run build | |
- name: Run lint π | |
run: npm run lint | |
- name: Run test π | |
run: npm run test |