0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

chore: test release on ci

This commit is contained in:
Juan Picado 2022-11-08 20:30:07 +01:00
parent 9735e6e401
commit 6eb1ea595f
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
name: Release
on:
workflow_dispatch:
push:
tags:
- '*'
@ -13,7 +14,7 @@ jobs:
- name: Use Node (latest)
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # tag=v2.5.1
with:
node-version: 14
node-version-file: '.nvmrc'
- name: Install
run: yarn install
- name: Build

View file

@ -10,4 +10,4 @@ echo "Bumping version to new tag: ${lastTag}"
echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc
# Publish to NPM
npm publish --registry https://$REGISTRY_URL/
npm publish --dry-run --registry https://$REGISTRY_URL/