Skip to content

CORE-5035: restructure terms (#1239) (#1240) #3018

CORE-5035: restructure terms (#1239) (#1240)

CORE-5035: restructure terms (#1239) (#1240) #3018

name: Pull request check
on: [push]
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout workspace
uses: actions/checkout@v2
- name: Setup Node.js 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
lint:
name: Analyse code quality
runs-on: ubuntu-latest
steps:
- name: Checkout workspace
uses: actions/checkout@v2
- name: Setup Node.js 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint