adding the same footer as on the public site, which includes the lega… #102
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: Code Quality | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
push: | |
branches: [main] | |
jobs: | |
linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v3 | |
- name: Install NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@noop-inc' | |
- name: Cache NPM | |
id: cache-npm | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.npm | |
./node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Install Dependencies | |
run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }} | |
- name: Cache Lint | |
id: cache-lint | |
uses: actions/cache@v3 | |
with: | |
path: | | |
./node_modules/.cache/prettier | |
./node_modules/.cache/.eslintcache | |
key: ${{ runner.os }}-lint-${{ github.sha }} | |
restore-keys: ${{ runner.os }}-lint- |