fix: improve the versioning function (#3911) #1886
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: Typings tests | |
on: | |
push: | |
branches: | |
- 3.x | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install --legacy-peer-deps | |
env: | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | |
- run: npm run def | |
- run: npm run dtslint |