Remove format from build command #435
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: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Linelint | |
uses: fernandrone/linelint@master | |
- name: Set up Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.14.2 | |
- name: Install dependencies | |
run: npm install | |
- name: Prettier | |
run: npm run format:check | |
- name: Vale | |
run: | | |
sudo apt update | |
sudo apt install snapd | |
sudo snap install vale --edge | |
npm run prose:check |