-
Notifications
You must be signed in to change notification settings - Fork 72
33 lines (30 loc) · 775 Bytes
/
ci.yml
File metadata and controls
33 lines (30 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI
on:
pull_request:
push:
branches:
- main
- development
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: 24.14.0
- name: Install dependencies
run: npm install
- name: Prettier
run: npm run format:check
- name: Vale
run: |
curl -L -o vale.tar.gz "https://github.com/errata-ai/vale/releases/download/v3.13.0/vale_3.13.0_Linux_64-bit.tar.gz"
tar -xzf vale.tar.gz
sudo mv vale /usr/local/bin/vale
rm vale.tar.gz
vale --version
npm run prose:check