Skip to content

Add CODE_OF_CONDUCT and CONTRIBUTING #70

Add CODE_OF_CONDUCT and CONTRIBUTING

Add CODE_OF_CONDUCT and CONTRIBUTING #70

Workflow file for this run

name: Linting
on: pull_request
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'v20.14.0'
- run: npm ci
- run: npm run lint:prettier:check
eslint:
name: EsLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'v20.14.0'
- run: npm ci
- run: npm run lint:eslint:check
commitlint:
name: commitlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 'v20.14.0'
- run: npm ci
- run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose