Installed semver globally in CI workflow

- if we install it locally, it'll run into issues with colliding with
  Ghost's package versions
This commit is contained in:
Daniel Lockyer 2022-09-01 20:48:25 +01:00
parent 4ba26364a7
commit 4e85343a94
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
submodules: true
- run: npm install semver
- run: npm install -g semver
- run: |
echo "current_sha=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "current_version=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV