Merge pull request #5 from confused-Techie/dependabot/npm_and_yarn/br… #18
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: CI - Standards | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
standards: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout the latest code | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS - ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies | |
run: npm install | |
- name: Lint Codebase | |
run: npm run lint | |
- name: Commit Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: GH Action Standards |