Skip to content

Merge branch 'main' into main #7

Merge branch 'main' into main

Merge branch 'main' into main #7

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
webpack_plugin:
name: Types (eslint-webpack-plugin)
runs-on: ubuntu-latest
steps:
- name: Checkout eslint
uses: actions/checkout@v4
with:
path: eslint
- name: Checkout eslint-webpack-plugin
uses: actions/checkout@v4
with:
repository: webpack-contrib/eslint-webpack-plugin
path: webpack
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install Packages (eslint)
working-directory: eslint
run: npm install
- name: Install Packages (eslint-webpack-plugin)
working-directory: webpack
run: |
npm install
npm install ../eslint
- name: Run TSC
working-directory: webpack
run: npm run lint:types
neostandard:
name: Types (neostandard)
runs-on: ubuntu-latest
steps:
- name: Checkout eslint
uses: actions/checkout@v4
with:
path: eslint
- name: Checkout neostandard
uses: actions/checkout@v4
with:
repository: neostandard/neostandard
path: neostandard
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install Packages (eslint)
working-directory: eslint
run: npm install
- name: Install Packages (neostandard)
working-directory: neostandard
run: |
npm install
npm install ../eslint
- name: Run TSC
working-directory: neostandard
run: npm run check:tsc
eslint-flat-config-utils:
name: Types (eslint-flat-config-utils)
runs-on: ubuntu-latest
steps:
- name: Checkout eslint
uses: actions/checkout@v4
with:
path: eslint
- name: Checkout eslint-flat-config-utils
uses: actions/checkout@v4
with:
repository: antfu/eslint-flat-config-utils
path: antfu
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install Packages (eslint)
working-directory: eslint
run: npm install
- name: Install Packages (neostandard)
working-directory: antfu
run: |
npm install
npm install ../eslint
- name: Run TSC
working-directory: antfu
run: npm run typecheck