Skip to content

Merge pull request #410 from assuncaocharles/dependabot/npm_and_yarn/… #106

Merge pull request #410 from assuncaocharles/dependabot/npm_and_yarn/…

Merge pull request #410 from assuncaocharles/dependabot/npm_and_yarn/… #106

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}}