Skip to content

Commit ab970d1

Browse files
committed
fix: Add Node.js setup for Netlify CLI
- preview-netlify action requires npm to install netlify-cli - RunsOn custom AMI doesn't have Node.js pre-installed - Add actions/setup-node@v4 before preview deploy step
1 parent d57db31 commit ab970d1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ jobs:
8686
with:
8787
name: execution-reports-html
8888
path: _build/html/reports
89+
- name: Setup Node.js
90+
uses: actions/setup-node@v4
91+
with:
92+
node-version: '20'
8993
- name: Preview Deploy to Netlify
9094
uses: quantecon/actions/preview-netlify@v0.6.0
9195
with:

0 commit comments

Comments
 (0)