mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-09-20 23:58:47 +03:00
23 lines
433 B
YAML
23 lines
433 B
YAML
language: node_js
|
|
node_js:
|
|
- node
|
|
- lts/*
|
|
install:
|
|
- npm install
|
|
before_script:
|
|
- npm rebuild node-sass
|
|
script:
|
|
- npm run lint:styles
|
|
- npm run lint:js
|
|
- npm run lint:html
|
|
- npm run build
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
keep-history: true
|
|
local-dir: dist
|
|
on:
|
|
branch: master
|
|
node: 'lts/*'
|