[Snyk] Security upgrade next from 14.0.3 to 14.2.32 #118
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: CI & Docker | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| name: Run Tests With Docker | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| # strategy: | |
| # matrix: | |
| # node-version: [18.x] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| # - name: Use NodeJS ${{ matrix.node-version }} | |
| # uses: actions/setup-node@v3 | |
| # with: | |
| # node-version: ${{ matrix.node-version }} | |
| # cache: "npm" | |
| # - name: navigate to app directory | |
| # run: cd twitter_clone && ls -a | |
| # - name: Install Dependencies | |
| # run: npm ci | |
| # - name: Run Format | |
| # run: npm run format:fix | |
| # - name: Run Linter | |
| # run: npm run lint:next && npm run lint:staged | |
| - name: Run tests with docker-compose | |
| run: docker compose -f ./twitter_clone/docker-compose.ci.yaml up --abort-on-container-exit --exit-code-from mongo |