Create tech stack docs (techstack.yml and techstack.md) #144
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 | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
run-linters: | |
name: Run linters Server | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Commit | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.lock') }} | |
- name: Install Dependencies | |
run: npm install | |
- name: Run linters | |
uses: wearerequired/[email protected] | |
with: | |
# github_token: ${{ secrets.BOT_TOKEN }} | |
# Enable linters | |
eslint: true | |
# Eslint options | |
# eslint_dir: server/ | |
eslint_extensions: js,ts |