fix: handle single node case in pop operation for linked list deque #57
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: TypeScript | |
| on: | |
| push: | |
| branches: ['main'] | |
| paths: ['codes/typescript/**/*.ts'] | |
| pull_request: | |
| branches: ['main'] | |
| paths: ['codes/typescript/**/*.ts'] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| - name: Install dependencies | |
| run: cd codes/typescript && npm install | |
| - name: Check TypeScript code | |
| run: cd codes/typescript && npm run check |