mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00: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:
committed by
GitHub
parent
c395293e64
commit
b774c3e785
@@ -1,4 +1,4 @@
|
|||||||
[](https://ci.appveyor.com/project/bitwarden/jslib)
|
[](https://github.com/bitwarden/jslib/actions/workflows/build.yml?query=branch:master)
|
||||||
|
|
||||||
# Bitwarden JavaScript Library
|
# 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 ci = process.env.CI === 'True' || process.env.CI === 'true';
|
||||||
var githubAction = process.env.GITHUB_WORKFLOW != null && process.env.GITHUB_WORKFLOW !== '';
|
var githubAction = process.env.GITHUB_WORKFLOW != null && process.env.GITHUB_WORKFLOW !== '';
|
||||||
var appveyor = process.env.APPVEYOR === 'True';
|
|
||||||
if (githubAction || appveyor) {
|
|
||||||
removeBrowser('Edge');
|
|
||||||
}
|
|
||||||
if (githubAction) {
|
if (githubAction) {
|
||||||
|
removeBrowser('Edge');
|
||||||
removeBrowser('Firefox');
|
removeBrowser('Firefox');
|
||||||
removeBrowser('Safari');
|
removeBrowser('Safari');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user