Skip to content

chore(deps): update dependency eslint to v9 #2069

chore(deps): update dependency eslint to v9

chore(deps): update dependency eslint to v9 #2069

Workflow file for this run

---
name: main
'on':
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
push:
branches: [main, 'renovate/**']
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: '.node-version'
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- id: pnpm-store
name: Get pnpm store directory
run: |
echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT
shell: bash
- id: pnpm-cache
name: Set up pnpm cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ steps.pnpm-store.outputs.path }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Prettier
run: pnpm run check-format
- name: Run ESLint
run: pnpm run lint
- name: Build
run: pnpm run build
- if: github.ref =='refs/heads/main'
name: Upload Artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: dist
deploy:
concurrency:
group: pages
cancel-in-progress: true
environment:
name: github-pages
url: ${{ steps.deploy-to-pages.outputs.page_url }}
if: github.ref =='refs/heads/main'
name: Deploy
needs: build
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Setup Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- name: Deploy to GitHub Pages
id: deploy-to-pages
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5