26 lines
489 B
YAML
26 lines
489 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 10.x
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm test
|
|
- run: npm run build-standalone-prod
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: standalone
|
|
path: dist/standalone.html
|