Skip to content

CORE: icon add (#1258) (#1259) #3047

CORE: icon add (#1258) (#1259)

CORE: icon add (#1258) (#1259) #3047

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