24 lines
457 B
YAML
24 lines
457 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out Admin UI
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
check-latest: true
|
|
cache: npm
|
|
|
|
- run: npm ci
|
|
- run: npm run lint
|
|
- run: npm run test
|
|
- run: npm run build
|