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:
parent
9735e6e401
commit
6eb1ea595f
2 changed files with 3 additions and 2 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Add table
Reference in a new issue