Skip to content

Commit e672cbc

Browse files
authored
Merge pull request #44 from WTW-IM/export-es-module
Fixing types declaration
2 parents 6379c79 + a9402b0 commit e672cbc

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,13 @@ jobs:
3434
needs: [test]
3535
name: Publish NPM Package
3636
runs-on: ubuntu-latest
37-
env:
38-
GIT_AUTHOR_NAME: 'im-pipeline-bot'
39-
GIT_AUTHOR_EMAIL: '[email protected]'
40-
GIT_COMMITTER_NAME: 'im-pipeline-bot'
41-
GIT_COMMITTER_EMAIL: '[email protected]'
42-
GITHUB_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
43-
GH_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
44-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4537
steps:
4638
- name: Checkout
4739
uses: actions/checkout@v3
4840
with:
4941
token: ${{ secrets.PIPELINE_BOT_PAT }}
50-
depth: 0
42+
fetch-depth: 0
43+
persist-credentials: true
5144

5245
- name: Setup Node
5346
uses: actions/setup-node@v3
@@ -59,4 +52,12 @@ jobs:
5952
run: npm ci
6053

6154
- name: Semantic Release
55+
env:
56+
GIT_AUTHOR_NAME: 'im-pipeline-bot'
57+
GIT_AUTHOR_EMAIL: '[email protected]'
58+
GIT_COMMITTER_NAME: 'im-pipeline-bot'
59+
GIT_COMMITTER_EMAIL: '[email protected]'
60+
GITHUB_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
61+
GH_TOKEN: ${{ secrets.PIPELINE_BOT_PAT }}
62+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6263
run: npx semantic-release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "4.0.0",
44
"description": "An HTMLElement extension that provides a simple setup for Web Components using React.",
55
"main": "module/index.js",
6-
"types": "module/index.d.ts",
6+
"types": "types/index.d.ts",
77
"exports": {
88
"import": "./module/index.js",
99
"require": "./dist/index.js",

0 commit comments

Comments
 (0)