You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
712 B
23 lines
712 B
# https://www.notion.so/ultracombos/184580d56c5f4b30b7777fd241b41b48
|
|
name: Publish to Verdaccio
|
|
on: push
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
lfs: true
|
|
- uses: EndBug/version-check@v2
|
|
id: check
|
|
with:
|
|
diff-search: true
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: actions/setup-node@v3
|
|
if: steps.check.outputs.changed == 'true'
|
|
with:
|
|
always-auth: true
|
|
node-version: 16
|
|
- run: echo "//verdaccio.ultracombos.net/:_authToken=${{ secrets.VERDACCIO_NPM_AUTH_TOKEN }}" > ~/.npmrc
|
|
- run: yarn publish
|
|
if: steps.check.outputs.changed == 'true' |