electron2appx
Version:
Compile Electron Apps into Windows Store AppX packages
43 lines (33 loc) • 833 B
YAML
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "8"
deploy:
on:
branch: master
provider: script
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- npm install
skip_tags: true
skip_branch_with_pr: true
max_jobs: 1
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
deploy_script:
- npm run semantic-release
# Don't actually build.
build: off
# Set build version format here instead of in the admin panel.
version: "{build}"
cache:
- node_modules # local npm modules
- '%APPDATA%\npm-cache' # npm cache