Skip to content

fix: npm install failure in dependencies due to unwanted post install… #16

fix: npm install failure in dependencies due to unwanted post install…

fix: npm install failure in dependencies due to unwanted post install… #16

Workflow file for this run

# When anyone pushes to npm branch in this repo, the package will be published to npm. This action requires
# access to NPM_TOKEN secret. Contact core.ai admins to get access to core.ais org tokens.
# To publish to your own npm account, follow this https://docs.npmjs.com/creating-and-viewing-access-tokens
name: Publish package to npm
on:
push:
branches: [ npm ]
jobs:
build-tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Npm Install
run: |
npm ci
- name: building package
run: |
npm run build
npm run remove-postinstall
- name: Publishing package to npm repository
run: |
npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}