mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
32 lines
869 B
YAML
32 lines
869 B
YAML
|
name: Release Canary 5.x
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
push:
|
||
|
branches:
|
||
|
- 5.x
|
||
|
- 'jota/**'
|
||
|
- 'canary/**'
|
||
|
- '5x-refactor-test'
|
||
|
jobs:
|
||
|
release:
|
||
|
name: Release Snapshot
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
|
||
|
- name: Use Node (latest)
|
||
|
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # tag=v2.5.1
|
||
|
with:
|
||
|
node-version-file: '.nvmrc'
|
||
|
- name: Install
|
||
|
run: yarn install
|
||
|
- name: Build
|
||
|
run: yarn build
|
||
|
- name: Bump up package
|
||
|
run: npm version prerelease --no-git-tag-version --preid $(date +%s%N)
|
||
|
- name: Publish
|
||
|
run: sh scripts/publish-prerelease.sh
|
||
|
env:
|
||
|
REGISTRY_AUTH_TOKEN: ${{ secrets.VERDACCIO_REGISTRY_TOKEN_CANARY }}
|
||
|
REGISTRY_URL: registry.verdaccio.org
|