Skip to content

Commit

Permalink
Merge pull request #38 from ExpressApp/feature/ki/npm-publish
Browse files Browse the repository at this point in the history
Add publish on NPM
  • Loading branch information
ikudinov authored Dec 1, 2023
2 parents 2032a50 + 1d42ef0 commit 153fcf8
Show file tree
Hide file tree
Showing 52 changed files with 25 additions and 3,084 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish NPM package

on:
release:
types: [created]

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 153fcf8

Please sign in to comment.