1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

testing env

This commit is contained in:
Joseph Flinn 2020-12-22 22:12:55 +00:00
parent ae8a196837
commit f574253aa6

View File

@ -41,6 +41,15 @@ jobs:
run: |
$env:pkgVersion = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
echo "{PACKAGE_VERSION}={$env:pkgVersion}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
echo "version: $pkgVersion"
- name: test setting env var
run: |
echo "version: $PACKAGE_VERSION"
if($PACKAGE_VERSION -eq "") {
Throw "test env failed."
}
- name: Install
run: npm install