21 lines
465 B
YAML
21 lines
465 B
YAML
name: npm-publish
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: apricot
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Publish to cocotte ct-forge (verdaccio) registry
|
|
run: |
|
|
chmod +x bin/*
|
|
printf '//134.199.243.61:4873/:_authToken=%s\n' "$NPM_TOKEN" > .npmrc
|
|
npm publish --registry http://134.199.243.61:4873/
|
|
rm .npmrc
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|