Skip to content

signout on whitelist (#373) #194

signout on whitelist (#373)

signout on whitelist (#373) #194

Workflow file for this run

name: NPM_PUBLISH
on:
push:
branches: master
paths:
- '**package.json'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.14.2]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: npm publisher script
working-directory: ./vue/sbc-common-components/
run: |
npm install
npm run build
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}