trying to fix resume jump to end of page #242
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: Backend - Run all tests | |
| on: | |
| push: | |
| branches: ['*'] | |
| pull_request: | |
| branches: ['*'] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: nextstep-backend | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Create envfile | |
| uses: SpicyPizza/create-envfile@v2.0.3 | |
| with: | |
| envkey_PORT: 3000 | |
| envkey_DB_CONNECTION: mongodb://localhost:27017/app | |
| envkey_ACCESS_TOKEN_SECRET: 2a955a8b802eab6c693ba116f5e1bc8d2d2cf5e5e83e579cecb3fc363fb077229a801e7392f348d3c370e2383169cab80f556421d3ec2186def5d36ed5a317b6 | |
| envkey_TOKEN_EXPIRATION: 30s | |
| envkey_REFRESH_TOKEN_SECRET: 2a955a8b802eab6c693ba116f5e1bc8d2d2cf5e5e83e579cecb3fc363fb077229a801e7392f348d3c370e2383169cab80f556421d3ec2186def5d36ed5a317b6 | |
| envkey_REFRESH_TOKEN_EXPIRATION: 1d | |
| envkey_CHAT_AI_TURNED_ON: false | |
| file_name: nextstep-backend/.env | |
| fail_on_empty: true | |
| sort_keys: false | |
| - name: Start MongoDB | |
| uses: supercharge/mongodb-github-action@1.10.0 | |
| with: | |
| mongodb-version: '6.0' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Install dependencies | |
| run: npm i | |
| - name: Run tests | |
| run: npm run test -- --testTimeout=30000 |