Skip to content

Upgrade Memory v1.5.0 #64

Upgrade Memory v1.5.0

Upgrade Memory v1.5.0 #64

Workflow file for this run

name: Code Quality - Website
on:
pull_request:
paths:
- 'client/**'
- 'docs/**'
jobs:
eslint:
name: ESlint
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Setup Caching
uses: actions/cache@v3
with:
path: |
~/.npm
${{ github.workspace }}/client/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Install Dependencies
run: npm ci --workspace=client --include-workspace-root
- name: Run ESLint
run: npm run lint:client
stylelint:
name: Stylelint
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Setup Caching
uses: actions/cache@v3
with:
path: |
~/.npm
${{ github.workspace }}/client/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Install Dependencies
run: npm ci --workspace=client --include-workspace-root
- name: Run Stylelint
run: npm run lint:style