Skip to content

Commit 4325484

Browse files
install respec as dep
1 parent 305ab8c commit 4325484

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/preview.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ jobs:
1010
steps:
1111
- name: Checkout repo
1212
uses: actions/checkout@v6
13+
with:
14+
fetch-depth: 0
1315

1416
- name: Set up Node.js
1517
uses: actions/setup-node@v3
1618
with:
1719
node-version: "latest"
1820

21+
- name: Install additional dependencies
22+
run: npm install axios yargs respec
23+
24+
1925
- name: Build site
2026
run: bash ./common/script/pr-preview.sh
2127
env:
@@ -38,9 +44,6 @@ jobs:
3844
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
3945
timeout-minutes: 5
4046

41-
- name: Install additional dependencies
42-
run: npm install axios yargs
43-
4447
- name: Update PR comment with preview and diff links
4548
run: |
4649
node common/script/prComment.mjs \

0 commit comments

Comments
 (0)