Skip to content

Commit

Permalink
chore: upgrade netlify v17 (#4639)
Browse files Browse the repository at this point in the history
* chore: upgrade netlify v17

* chore: update package json for netlify

* chore: testing for coachmark

* chore: revert for coachmark

---------

Co-authored-by: Rajdeep Chandra <rajdeepchandra@Rajdeeps-MacBook-Pro-2.local>
Co-authored-by: Rajdeep Chandra <rajdeepchandra@rajdeeps-mbp-2.corp.adobe.com>
  • Loading branch information
3 people authored Aug 2, 2024
1 parent 4b2d688 commit eb86aa1
Show file tree
Hide file tree
Showing 5 changed files with 1,265 additions and 2,426 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ commands:
branch=$(git symbolic-ref --short HEAD)
hash=$(echo -n $branch-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> | md5sum | cut -c 1-32)
echo hash
yarn netlify deploy --alias=$hash --dir=test/visual
yarn netlify deploy --alias=$hash --cwd test/visual
# move "updated" screenshot into the baseline directory before making the new cache
- run:
when: always
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
- run: |
branch=$(git symbolic-ref --short HEAD)
branch=$(npx slugify-cli $branch)
yarn netlify deploy --alias=$branch
yarn netlify deploy --alias=$branch --cwd projects/documentation
hcm-visual:
executor: node
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
branch=$(git symbolic-ref --short HEAD)
hash=$(echo -n $branch-hcm | md5sum | cut -c 1-32)
echo hash
yarn netlify deploy --alias=$hash --dir=test/visual
yarn netlify deploy --alias=$hash --cwd test/visual
# move "updated" screenshot into the baseline directory before making the new cache
- run:
when: always
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@custom-elements-manifest/analyzer": "^0.9.0",
"@geometricpanda/storybook-addon-badges": "^2.0.2",
"@lit/react": "^1.0.4",
"@netlify/build": "^29.1.0",
"@netlify/build": "^29.17.3",
"@open-wc/dev-server-hmr": "^0.2.0",
"@open-wc/testing": "^4.0.0",
"@playwright/test": "^1.44.0",
Expand Down Expand Up @@ -172,7 +172,7 @@
"lit-analyzer": "^2.0.3",
"lit-html": "^2.4.0 || ^3.1.3",
"mocha-junit-reporter": "^2.0.2",
"netlify-cli": "^15.9.0",
"netlify-cli": "^17.33.5",
"next": "^14",
"node-fetch": "^3.1.0",
"npm-run-all2": "^6.0.0",
Expand Down
8 changes: 8 additions & 0 deletions projects/documentation/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build]
command = "yarn docs:build"
publish = "./"

[[headers]]
for = "/storybook/*.json"
[headers.values]
Access-Control-Allow-Origin = "*"
8 changes: 8 additions & 0 deletions test/visual/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build]
command = "yarn docs:build"
publish = "./"

[[headers]]
for = "/storybook/*.json"
[headers.values]
Access-Control-Allow-Origin = "*"
Loading

0 comments on commit eb86aa1

Please sign in to comment.