Bump eslint from 8.47.0 to 8.48.0 #1292
Workflow file for this run
This file contains 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: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm lint | |
- run: pnpm prepare | |
- run: pnpm typecheck | |
- run: pnpm generate | |
- name: Check if 200.html exists | |
run: | | |
if [ ! -f "dist/200.html" ]; then | |
echo "200.html does not exist." | |
exit 1 | |
fi | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
external_repository: portfolio-report/pr-www-pages | |
publish_dir: ./dist |