Skip to content

Commit

Permalink
Add tests with typescript@latest
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Nov 23, 2023
1 parent 395c278 commit c95e060
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test-ts-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests (against typescript@latest)

on:
workflow_dispatch:
pull_request:
push:
branches:
- '**'
tags:
- '!**'

jobs:
test:
runs-on: ubuntu-latest
name: Ubunut/Node v20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install typescript@latest
- run: npm run lint
- run: npm run build
- run: npm run knip
- run: npm run knip:production
- run: npm test
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cross-OS Tests
name: Tests (against [email protected])

on:
workflow_dispatch:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm ci
- run: npm install [email protected]
- run: npm run lint
- run: npm run build
- run: npm run knip
Expand Down

0 comments on commit c95e060

Please sign in to comment.