Skip to content

Commit

Permalink
Merge pull request #18 from ExpressApp/feature/ki/ci
Browse files Browse the repository at this point in the history
Add NPM publish
  • Loading branch information
ikudinov authored Dec 1, 2023
2 parents dba0eef + 0df4e85 commit bd8c8f3
Show file tree
Hide file tree
Showing 51 changed files with 30 additions and 4,302 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish NPM package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn install
- run: yarn build

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3 changes: 0 additions & 3 deletions build/main/index.d.ts

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions build/main/lib/case.d.ts

This file was deleted.

39 changes: 0 additions & 39 deletions build/main/lib/case.js

This file was deleted.

18 changes: 0 additions & 18 deletions build/main/lib/constants.d.ts

This file was deleted.

25 changes: 0 additions & 25 deletions build/main/lib/constants.js

This file was deleted.

27 changes: 0 additions & 27 deletions build/main/lib/eventEmitter.d.ts

This file was deleted.

42 changes: 0 additions & 42 deletions build/main/lib/eventEmitter.js

This file was deleted.

3 changes: 0 additions & 3 deletions build/main/lib/logger.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions build/main/lib/logger.js

This file was deleted.

12 changes: 0 additions & 12 deletions build/main/lib/platformDetector.d.ts

This file was deleted.

34 changes: 0 additions & 34 deletions build/main/lib/platformDetector.js

This file was deleted.

Loading

0 comments on commit bd8c8f3

Please sign in to comment.