Remove console logs from bubbleSort #76
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: Node.js CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [21] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Set TERM environment variable | |
| run: echo "TERM=xterm-256color" >> $GITHUB_ENV | |
| - name: Set FORCE_COLOR | |
| run: echo "FORCE_COLOR=1" >> $GITHUB_ENV | |
| - name: Set COLUMNS environment variable | |
| run: echo "COLUMNS=$(tput cols)" >> $GITHUB_ENV | |
| - name: Check COLUMNS value | |
| run: echo "COLUMNS=$COLUMNS" | |
| - name: Run tests | |
| run: npm test | |