Skip to content

v5.0.25

v5.0.25 #5

Workflow file for this run

name: NPM Publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 12
# - run: 'rm .npmrc'
# shell: bash
# - run: 'echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> .npmrc'
# shell: bash
# env:
# NPM_TOKEN: ${{ secrets.NPM_PKG_TOKEN }}
# - run: 'echo "@shoutout-labs:registry=https://npm.pkg.github.com/shoutout-labs" >> .npmrc'
# shell: bash
# - run: npm i
# - run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
# - run: npm run lint-lite
# - run: npm test
publish-npm:
# needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com
- run: 'rm .npmrc'
shell: bash
- run: 'echo "//npm.pkg.github.com/:_authToken=$NPM_TOKEN" >> .npmrc'
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_PKG_TOKEN }}
- run: 'echo "@shoutout-labs:registry=https://npm.pkg.github.com/shoutout-labs" >> .npmrc'
shell: bash
- run: npm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}