Skip to content

Upgrade React #136

Upgrade React

Upgrade React #136

Workflow file for this run

name: Publish
on:
- push
jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
strategy:
matrix:
node-version:
- "22"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "22"
- run: node --version
- run: npm i --legacy-peer-dep
- run: npm run format
- name: commit auto fixes
env:
USERNAME: ${{ github.actor }}
BRANCH: ${{ github.ref_name }}
run: |
if [ "$(git diff --quiet && echo 0 || echo $?)" -gt 0 ]; then
git config --global user.email "${USERNAME}@users.noreply.github.com" --replace-all
git config --global user.name "$USERNAME" --replace-all
git commit -am "😎 Autofix"
git push origin $BRANCH
exit 1
fi