chore(deps): update dependency cspell to v8.8.3 (#2188) #1151
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
# 1. Reformat | |
## 1.1 checkout | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
## 1.2 do reformat | |
- name: Prettify code | |
uses: creyD/prettier_action@v4.3 | |
with: | |
prettier_options: -w -u .github/* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# 2. Linting | |
## 2.1 checkout again to opt out push permission | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4.0.2 | |
- name: yarn install | |
run: yarn | |
## 2.2 do lints | |
- name: cspell | |
run: yarn lint:cspell | |
- name: cspell for ./.github | |
run: yarn lint:cspell-github | |
- name: prettier | |
run: yarn lint:prettier |