Skip to content

Merge pull request #409 from MRinaldi9/feat/update-workspace-configur… #105

Merge pull request #409 from MRinaldi9/feat/update-workspace-configur…

Merge pull request #409 from MRinaldi9/feat/update-workspace-configur… #105

name: Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install -g yarn
- run: yarn install
- run: yarn pack
- run: yarn run build:lib
- name: Publish
working-directory: ./dist/ngx-indexed-db
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}