mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
Replaced appveyor build badge with one from Github Workflow (#319)
* Deleted appveyor.yml * Removed Appveyor check in karma.conf.js * Modified build badge to use Github workflow * Fixed missing parenthesis in README.md
This commit is contained in:
parent
c395293e64
commit
b774c3e785
@ -1,4 +1,4 @@
|
||||
[![appveyor build](https://ci.appveyor.com/api/projects/status/github/bitwarden/jslib?branch=master&svg=true)](https://ci.appveyor.com/project/bitwarden/jslib)
|
||||
[![Github Workflow build on master](https://github.com/bitwarden/jslib/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/bitwarden/jslib/actions/workflows/build.yml?query=branch:master)
|
||||
|
||||
# Bitwarden JavaScript Library
|
||||
|
||||
|
36
appveyor.yml
36
appveyor.yml
@ -1,36 +0,0 @@
|
||||
image:
|
||||
- Visual Studio 2017
|
||||
|
||||
init:
|
||||
- ps: |
|
||||
if($isWindows -and $env:DEBUG_RDP -eq "true") {
|
||||
iex ((new-object net.webclient).DownloadString(`
|
||||
'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
}
|
||||
- ps: Install-Product node 10
|
||||
|
||||
install:
|
||||
- ps: choco install cloc --no-progress
|
||||
- ps: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
||||
|
||||
before_build:
|
||||
- cmd: node --version
|
||||
- cmd: npm --version
|
||||
|
||||
build_script:
|
||||
- cmd: npm install
|
||||
- cmd: npm run lint
|
||||
- cmd: npm run build
|
||||
- cmd: npm run test
|
||||
- cmd: 7z a coverage-%APPVEYOR_BUILD_NUMBER%.zip coverage\*
|
||||
|
||||
on_finish:
|
||||
- ps: |
|
||||
if($isWindows -and $env:DEBUG_RDP -eq "true") {
|
||||
$blockRdp = $true
|
||||
iex ((new-object net.webclient).DownloadString(`
|
||||
'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
}
|
||||
|
||||
artifacts:
|
||||
- path: coverage-%APPVEYOR_BUILD_NUMBER%.zip
|
@ -82,11 +82,8 @@ module.exports = (config) => {
|
||||
|
||||
var ci = process.env.CI === 'True' || process.env.CI === 'true';
|
||||
var githubAction = process.env.GITHUB_WORKFLOW != null && process.env.GITHUB_WORKFLOW !== '';
|
||||
var appveyor = process.env.APPVEYOR === 'True';
|
||||
if (githubAction || appveyor) {
|
||||
removeBrowser('Edge');
|
||||
}
|
||||
if (githubAction) {
|
||||
removeBrowser('Edge');
|
||||
removeBrowser('Firefox');
|
||||
removeBrowser('Safari');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user