Skip to content

docs(readme): update to reflect deprecation and new @ng-vibe series #45

docs(readme): update to reflect deprecation and new @ng-vibe series

docs(readme): update to reflect deprecation and new @ng-vibe series #45

Workflow file for this run

name: npm-publish
on:
push:
branches:
- master # Change this to your default branch
paths:
- 'dist/**'
jobs:
gpr-publish:
name: gpr-publish
runs-on: ubuntu-latest
steps:
# Publish to GitHub Package Registry
- name: Checkout Repo
uses: actions/checkout@main
- name: Setup Node.js (GPR)
uses: actions/setup-node@master
with:
node-version: '12.x'
registry-url: https://npm.pkg.github.com/
scope: '${{ github.actor }}'
- name: Check if scroll-to-top version has been updated
id: awp
uses: EndBug/version-check@v1
with:
diff-search: true
file-name: dist/package.json
token: ${{ secrets.GT_TOKEN }}
- name: Publish AWP to GitHub Package Registry
if: steps.awp.outputs.changed == 'true'
run: npm publish dist
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
#Publish to Node Package Manager
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js (NPM)
uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: https://registry.npmjs.org
- name: Check if scroll-to-top version has been updated
id: awp
uses: EndBug/version-check@v1
with:
diff-search: true
file-name: dist/package.json
token: ${{ secrets.GT_TOKEN }}
- name: Publish to NPM
if: steps.awp.outputs.changed == 'true'
run: npm publish dist --access public --@costlydeveloper:registry=https://registry.npmjs.org/
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}