chore(deps-dev): bump eslint from 9.39.2 to 9.39.4 #850
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: Assertions | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| assertions: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.npm | |
| ${{ github.workspace }}/.next/cache | |
| key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}- | |
| - name: Install Dependencies | |
| run: npm install # platform-specific binaries require full install | |
| - name: Create Environment File | |
| run: | | |
| cat > .env << EOF | |
| ANALYTICS_ID=${{ secrets.ANALYTICS_ID }} | |
| ANALYTICS_SCRIPT_URL=${{ secrets.ANALYTICS_SCRIPT_URL }} | |
| BASE_URL=${{ secrets.BASE_URL }} | |
| ENABLE_ANALYTICS=${{ secrets.ENABLE_ANALYTICS }} | |
| GOOGLE_SITE_VERIFICATION=${{ secrets.GOOGLE_SITE_VERIFICATION }} | |
| REDDIT_CLIENT_ID=${{ secrets.REDDIT_CLIENT_ID }} | |
| REDDIT_CLIENT_SECRET=${{ secrets.REDDIT_CLIENT_SECRET }} | |
| REDDIT_REDIRECT_URI=${{ secrets.REDDIT_REDIRECT_URI }} | |
| SESSION_SECRET=${{ secrets.SESSION_SECRET }} | |
| USER_AGENT=${{ secrets.USER_AGENT }} | |
| EOF | |
| - name: Build | |
| run: npm run build | |
| - name: Validate (Format / Typecheck / Lint / Test) | |
| run: npm run validate:ci | |
| - name: Upload Coverage Report | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| retention-days: 7 |