Skip to content

Remove repo specific CoC. (#514) #387

Remove repo specific CoC. (#514)

Remove repo specific CoC. (#514) #387

Workflow file for this run

name: Run checks
on:
pull_request:
push:
branches:
- trunk
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
- name: Setup Composer
uses: php-actions/composer@v6
- name: Install Dependencies
run: npm i
- name: Run PHP Lint
run: npm run lint:php
- name: Run JS Lint
if: success() || failure()
run: npm run lint:js
- name: Run CSS Lint
if: success() || failure()
run: npm run lint:css
- name: Run Markdown Lint
if: success() || failure()
run: npm run lint:md-docs
- name: Run package.json Lint
if: success() || failure()
run: npm run lint:pkg-json
unit-test-js:
name: JavaScript Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install Dependencies
run: npm i
- name: Compile JavaScript App
run: npm run build
- name: Run JavaScript unit tests
run: npm run test:unit