mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
3755c0652a
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](0a44ba7841...39370e3970
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
880 B
YAML
28 lines
880 B
YAML
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
release:
|
|
name: Release Snapshot
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- name: Use Node (latest)
|
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: Install
|
|
run: yarn install
|
|
- name: 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
|
|
run: npm version prerelease --no-git-tag-version --preid ${{ env.sha_short }}
|
|
- name: Publish
|
|
run: sh scripts/publish-prerelease.sh
|
|
env:
|
|
REGISTRY_AUTH_TOKEN: ${{ secrets.VERDACCIO_REGISTRY_TOKEN_CANARY }}
|
|
REGISTRY_URL: rg.verdaccio.org
|