Skip to content

Commit

Permalink
Bump @babel/eslint-parser from 7.23.10 to 7.24.7 (#549)
Browse files Browse the repository at this point in the history
* Bump @babel/eslint-parser from 7.23.10 to 7.24.7

Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.23.10 to 7.24.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* move retry script

* update command

* move command

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <[email protected]>
  • Loading branch information
dependabot[bot] and mldangelo committed Jun 19, 2024
1 parent f4a8fd3 commit 835c96e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 13 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,29 @@ jobs:
cache: "npm"
- name: Install
run: npm ci
- name: Build and render
run: npm run predeploy
- name: Build and Render
shell: bash
run: |
# NOTE: Rendering can be flaky and react-snap is no
# longer maintained, so retry until I convert to next.
function retry {
local n=1
local max=5
local delay=1
while true; do
"$@" && break || {
if [[ $n -lt $max ]]; then
((n++))
echo "Command failed. Attempt $n/$max:"
sleep $delay;
else
echo "The command has failed after $n attempts."
return 1
fi
}
done
}
retry npm run predeploy
env:
NODE_ENV: production
# Remove this line if you would like to skip using google analytics
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
run: |
function retry {
local n=1
local max=3
local delay=5
local max=5
local delay=1
while true; do
"$@" && break || {
if [[ $n -lt $max ]]; then
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-scripts": "^5.0.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.10",
"@babel/eslint-parser": "^7.24.7",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@testing-library/jest-dom": "^5.17.0",
Expand Down

0 comments on commit 835c96e

Please sign in to comment.