Skip to content

Fix unit tests

Fix unit tests #26

Workflow file for this run

name: Lint
on:
pull_request:
types: [opened, synchronize, reopened, edited]
branches:
- stage
- main
jobs:
eslint:
name: runner / eslint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- uses: reviewdog/action-eslint@v1
with:
filter_mode: file
fail_on_error: true
stylelint:
name: runner / stylelint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- uses: reviewdog/action-stylelint@v1
with:
filter_mode: file
fail_on_error: true