0
Fork 0
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:
Juan Picado 2024-09-14 20:44:32 +02:00
parent c658971052
commit 2d3a82b559

View file

@ -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: