Skip to content

Bump eslint from 8.57.0 to 9.2.0 #10

Bump eslint from 8.57.0 to 9.2.0

Bump eslint from 8.57.0 to 9.2.0 #10

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: ci
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run lint
format:
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run format
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [lint, format]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}