This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
[Snyk] Upgrade @types/node from 18.17.12 to 18.18.13 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Format | |
on: | |
push: | |
pull_request: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "18.x" | |
- run: npm install | |
- run: npm run lint | |
- run: npm run prettier | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply linting and formatting changes | |
branch: ${{ github.head_ref }} |