Skip to content

Commit db89a37

Browse files
authored
chore(deps): Move netlify-cli to globally installed command (#10)
* chore(deps): Bump netlify-cli to latest * Install netlify-cli as a global command
1 parent 0dd9478 commit db89a37

File tree

3 files changed

+13
-14062
lines changed

3 files changed

+13
-14062
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
run: ./scripts/check-prismatic-references.sh
1616
- name: Install dependencies
1717
run: npm ci
18+
- name: Install Netlify CLI
19+
run: npm install --global netlify-cli
1820
- name: Check spelling
1921
run: npm run check-spelling
2022
- name: Check markdown formatting
@@ -27,7 +29,7 @@ jobs:
2729
run: npm run build
2830
- name: Deploy preview
2931
run: |
30-
./node_modules/.bin/netlify \
32+
netlify \
3133
deploy ${PROD_FLAG} \
3234
--dir ./build \
3335
--no-build \

0 commit comments

Comments
 (0)