Added empty .npmignore to override .gitignore

This commit is contained in:
David Négrier 2021-04-10 19:14:36 +02:00
parent 6acf0ff047
commit 0f7ac7ba8b
2 changed files with 3 additions and 0 deletions

View file

@ -42,12 +42,15 @@ jobs:
env:
API_URL: "localhost:8080"
working-directory: "front"
# We build the front to generate the typings of iframe_api, then we copy those typings in a separate package.
- name: Copy typings to package dir
run: cp front/dist/src/iframe_api.d.ts front/packages/iframe-api-typings/iframe_api.d.ts
- name: Install dependencies in package
run: yarn install
working-directory: "front/packages/iframe-api-typings"
- name: Publish package
run: yarn publish
working-directory: "front/packages/iframe-api-typings"