chore(deps): update development dependencies #484
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: Code style | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
# Install | |
- name: Install dependencies via yarn 📦 | |
run: yarn install --prefer-offline --frozen-lockfile | |
# Run eslint 🕵️ | |
- name: Run eslint | |
run: yarn lint | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
# Install | |
- name: Install dependencies via yarn 📦 | |
run: yarn install --prefer-offline --frozen-lockfile | |
# Run prettier 🕵️ | |
- name: Run prettier | |
run: npx prettier --check "*.{js,json}" |