1
0
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:
Daniel James Smith 2021-04-05 21:25:45 +02:00 committed by GitHub
parent c395293e64
commit b774c3e785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 41 deletions

View File

@ -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

View File

@ -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

View File

@ -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');
}