Skip to content

Bump typescript from 5.0.3 to 5.2.2 #121

Bump typescript from 5.0.3 to 5.2.2

Bump typescript from 5.0.3 to 5.2.2 #121

name: Reformat and Lint
on:
pull_request:
merge_group:
workflow_dispatch:
jobs:
reformat-and-lint:
runs-on: ubuntu-latest
steps:
- name: 🛎 Checkout
if: github.event.pull_request.user.login != 'dependabot[bot]'
uses: actions/checkout@v3
with:
token: ${{ secrets.WORKFLOW_COMMIT }}
- name: 🛎🤖 Bot Checkout
if: github.event.pull_request.user.login == 'dependabot[bot]'
uses: actions/checkout@v3
- name: 📦 Setup Node.js and caching
uses: actions/setup-node@v3
with:
node-version: latest
cache: "npm"
- name: 🔨 Install
run: npm i
- name: 🧹 Reformat
run: npx prettier --write .
- name: 🚨 Lint
run: npx eslint .
- name: ⬆️ Commit changes
if: github.event.pull_request.user.login != 'dependabot[bot]'
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Reformat and Lint