signal-desktop/appveyor.yml
Daniel Gasienica 3f20feb96d
Ensure consistent builds using yarn --frozen-lockfile (#2098)
As recommended by documentation:
> If you need reproducible dependencies, which is usually the case with the
> continuous integration systems, you should pass `--frozen-lockfile` flag.
-- https://yarnpkg.com/lang/en/docs/cli/install/
2018-03-02 16:01:43 -05:00

31 lines
735 B
YAML

platform:
- x64
cache:
- '%LOCALAPPDATA%\electron\Cache'
- node_modules -> package.json
install:
- systeminfo | findstr /C:"OS"
- set PATH=C:\Ruby23-x64\bin;%PATH%
- ps: Install-Product node 8.2.1 x64
- yarn install --frozen-lockfile
build_script:
- yarn eslint
- yarn test-server
- yarn lint
- yarn run icon-gen
- node build\grunt.js
- type package.json | findstr /v certificateSubjectName > temp.json
- move temp.json package.json
- yarn prepare-beta-build
- node_modules\.bin\build --config.extraMetadata.environment=%SIGNAL_ENV% --publish=never
test_script:
- node build\grunt.js test
- set NODE_ENV=production
- node build\grunt.js test-release:win
environment:
SIGNAL_ENV: production