fixed cdk warnings #278
This file contains hidden or 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: Run Typescript tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "typescript/**" | |
| pull_request: | |
| paths: | |
| - "typescript/**" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: typescript | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 | |
| - name: Link Checker | |
| uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a | |
| with: | |
| fail: true | |
| args: --scheme=https . --exclude-all-private --accept 999 --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run coverage |