This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
chore(deps-dev): bump prettier from 2.8.8 to 3.0.0 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Linting | |
on: | |
- pull_request | |
jobs: | |
build: | |
name: Smoke test building | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn build | |
typecheck: | |
name: Typecheck TypeScript code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn typecheck | |
prettier: | |
name: Validate Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
persist-credentials: false | |
- uses: creyD/prettier_action@v4.3 | |
with: | |
dry: True | |
prettier_options: "--check ." | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
eslint: | |
name: Eslint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn build | |
- run: yarn lint |