Skip to content

Merge pull request #84 from ciatph/feat/ciatph-82 #106

Merge pull request #84 from ciatph/feat/ciatph-82

Merge pull request #84 from ciatph/feat/ciatph-82 #106

Workflow file for this run

name: Lint Files
on:
push:
branches-ignore:
- 'master'
jobs:
lint-client:
name: Lint Client
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies and lint
run: |
cd client
npm install
npm run lint
lint-server:
name: Lint Server
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies and lint
run: |
cd server
npm install
npm run lint