Skip to content

Merge pull request #4 from hodfords-solutions/feat/rename-typo #8

Merge pull request #4 from hodfords-solutions/feat/rename-typo

Merge pull request #4 from hodfords-solutions/feat/rename-typo #8

Workflow file for this run

name: Publish Package to npmjs
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: cp package.json dist/libs
- run: cp README.md dist/libs
- run: cd dist/libs && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}