Skip to content

Tests(e2e+unit), workflow update with eslint, 1inch & vs hodl apr fix etc. #2

Tests(e2e+unit), workflow update with eslint, 1inch & vs hodl apr fix etc.

Tests(e2e+unit), workflow update with eslint, 1inch & vs hodl apr fix etc. #2

Workflow file for this run

# name: ESLint Check
# on:
# push:
# branches: [main, master]
# pull_request:
# branches: [main, master]
# jobs:
# lint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# - name: Setup Node.js
# uses: actions/setup-node@v2
# with:
# node-version: "20"
# - name: Install dependencies
# run: npm install eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --save-dev
# - name: Run ESLint
# run: npx eslint .
name: ESLint Check
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: |
yarn add eslint eslint-plugin-astro @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-prettier astro-eslint-parser --dev
- name: Run ESLint
run: yarn eslint **/*.{ts,tsx,astro}