Skip to content

feat: Set up eslint & prettier in es ds components and es ds docs #6584

feat: Set up eslint & prettier in es ds components and es ds docs

feat: Set up eslint & prettier in es ds components and es ds docs #6584

Workflow file for this run

name: ci
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
- name: Setup node env πŸ—
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Cache node_modules πŸ“¦
uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: |
make install
make symlink
- name: Run linter πŸ‘€
run: make lint
- name: Run tests πŸ§ͺ
run: make test