Skip to content

Commit 844dcc5

Browse files
committed
add vale installation to pipeline
1 parent 689fdfb commit 844dcc5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/production.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ jobs:
6464
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
6565
- name: Install dependencies
6666
run: npm install
67+
- name: Install vale
68+
run: |
69+
curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s v2.4.0
70+
export PATH="./bin:$PATH"
71+
vale -v
6772
- name: Build project
6873
run: npm run build
6974
- name: Upload artifact

.github/workflows/staging.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
4141
- name: Install dependencies
4242
run: npm install
43+
- name: Install vale
44+
run: |
45+
curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s v2.4.0
46+
export PATH="./bin:$PATH"
47+
vale -v
4348
- name: Run linter
4449
run: |
4550
npm run lint

0 commit comments

Comments
 (0)