feat: making origin an array #32
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 - doorcloud backend | |
on: [push] | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install pnpm | |
run: corepack enable | |
- name: Install Node.js dependencies | |
run: pnpm i | |
- name: Revert changes into the pnpm-lock.yaml file | |
run: git checkout -- pnpm-lock.yaml | |
- name: Run linters | |
uses: wearerequired/lint-action@v2 | |
with: | |
auto_fix: true | |
eslint: true | |
eslint_extensions: ts |