Skip to content

Commit 9500a3c

Browse files
committed
#4 Run redocly lint before bundle in release.yml workflow
1 parent 67a0eb1 commit 9500a3c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@ jobs:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- uses: actions/checkout@v3
2424

25+
- name: Setup Node.js environment
26+
uses: actions/setup-node@v3.8.1
27+
2528
- name: Install Redocly CLI
2629
run: npm i -g @redocly/cli@latest
2730

2831
- name: Run Redocly CLI Linter
32+
run: redocly lint
33+
34+
- name: Run Redocly CLI Bundle
2935
run: redocly bundle -o open-hue.yaml
3036

31-
- name: Upload binaries to release
37+
- name: Upload bundled open-hue.yaml to release assets
3238
uses: svenstaro/upload-release-action@v2
3339
with:
3440
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)