Adding get started documentation and cleaned up some code for the doc… #2
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 Security | |
on: [push, pull_request] | |
jobs: | |
lint-and-security: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '21.4.0' # Match this with your project's Node.js version | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Linters | |
run: npm run lint | |
- name: Run Security Checks | |
run: npm audit --production |