[npm] Dependabot: Bump puppeteer from 24.7.2 to 24.18.0 #110
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: CI | |
| on: | |
| - pull_request | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup node version | |
| run: | | |
| echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'npm' | |
| - name: Install deps | |
| run: npm ci | |
| - name: Running linter | |
| run: npm run lint | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup node version | |
| run: | | |
| echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'npm' | |
| - name: Install deps | |
| run: npm ci | |
| - name: Running tests | |
| run: npm run test | |
| build: | |
| name: Build | |
| needs: [lint, tests] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup node version | |
| run: | | |
| echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'npm' | |
| - name: Install deps | |
| run: npm ci | |
| - name: Build app | |
| run: npm run build |