mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
testing env
This commit is contained in:
parent
ae8a196837
commit
f574253aa6
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user