fix: remove unused var and if block #711
Workflow file for this run
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: Test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [lts/*, current] | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Use Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install Dependencies | |
| run: | | |
| npm install --no-progress | |
| npm install --no-progress --prefix upload-action | |
| - name: Run Lint | |
| run: | | |
| npm run lint | |
| - name: Run Tests | |
| run: | | |
| npm config set script-shell bash | |
| npm test | |
| - name: Build | |
| run: | | |
| npm run build | |
| - name: Check TypeScript | |
| run: | | |
| npm run typecheck |