Skip to content

Commit

Permalink
Bump eslint-plugin-react from 7.34.0 to 7.34.2 (#548)
Browse files Browse the repository at this point in the history
* Bump eslint-plugin-react from 7.34.0 to 7.34.2

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.34.0 to 7.34.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.34.0...v7.34.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Add retries

* fix syntax

* make default shell bash

---------

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 c5f319e commit f4a8fd3
Show file tree
Hide file tree
Showing 4 changed files with 434 additions and 272 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
node-version-file: ".nvmrc"
cache: "npm"
- name: Install
run: npm ci
- name: Build and render
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'build'
path: "build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
69 changes: 44 additions & 25 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
workflow_dispatch:

jobs:
Expand All @@ -18,14 +18,14 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- name: Lint
run: npm run lint
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- name: Lint
run: npm run lint

build:
runs-on: ${{ matrix.os }}
Expand All @@ -44,18 +44,37 @@ jobs:
- os: macos-latest
node-version: 18.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Build and Statically Render
run: npm run predeploy
env:
NODE_ENV: development
- name: Test
run: npm test
env:
NODE_ENV: development
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- name: Build and Statically Render
shell: bash
run: |
function retry {
local n=1
local max=3
local delay=5
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: development
- name: Test
run: npm test
env:
NODE_ENV: development
Loading

0 comments on commit f4a8fd3

Please sign in to comment.