mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore: update ci
This commit is contained in:
parent
c658971052
commit
2d3a82b559
1 changed files with 5 additions and 1 deletions
6
.github/workflows/release-snapshot.yml
vendored
6
.github/workflows/release-snapshot.yml
vendored
|
@ -19,8 +19,12 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
- name: Declare some variables
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
|
||||||
- name: Bump up package
|
- name: Bump up package
|
||||||
run: npm version prerelease --no-git-tag-version --preid $(date +%s)
|
run: npm version prerelease --no-git-tag-version --preid ${{ env.sha_short }}
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: sh scripts/publish-prerelease.sh
|
run: sh scripts/publish-prerelease.sh
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue