Skip to content

Commit

Permalink
Add publish on NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kudinov committed Dec 1, 2023
1 parent 2032a50 commit 271fa3d
Show file tree
Hide file tree
Showing 52 changed files with 23 additions and 3,084 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish NPM package

on: [push]

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Build package
run: yarn install && yarn build
- name: Publish package on NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ src/**.js
coverage
*.log
public
build/tsconfig.*
build/*
.DS_Store
src/.DS_Store
8 changes: 0 additions & 8 deletions build/main/index.d.ts

This file was deleted.

37 changes: 0 additions & 37 deletions build/main/index.js

This file was deleted.

21 changes: 0 additions & 21 deletions build/main/lib/client/index.d.ts

This file was deleted.

66 changes: 0 additions & 66 deletions build/main/lib/client/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions build/main/lib/contacts/index.d.ts

This file was deleted.

63 changes: 0 additions & 63 deletions build/main/lib/contacts/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions build/main/lib/helpers/helpers.d.ts

This file was deleted.

Loading

0 comments on commit 271fa3d

Please sign in to comment.