Skip to content

Merge pull request #32 from Casual-UI/changeset-release/main #134

Merge pull request #32 from Casual-UI/changeset-release/main

Merge pull request #32 from Casual-UI/changeset-release/main #134

Workflow file for this run

name: ESLint
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, ready_for_review]
branches-ignore:
- changeset-release/main
jobs:
linter:
name: Running eslint check
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Node 18
uses: actions/setup-node@v3
with:
node-version: "18.16.1"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 7.14.0
- name: Install Dependencies
run: pnpm i
- name: ESLint check
run: pnpm lint
- name: Prettier check
run: pnpm format