Skip to content

Commit 2cf3ada

Browse files
authored
Merge pull request #75 from BeeInventor/develop
fix: not find release module
2 parents be27d12 + 9ecdf2f commit 2cf3ada

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/release-package.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,7 @@ on:
55
types: [created]
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
13-
with:
14-
node-version: 20
15-
- uses: pnpm/action-setup@v4
16-
with:
17-
version: 9
18-
- run: pnpm i
19-
- run: pnpm build
20-
218
publish-gpr:
22-
needs: build
239
runs-on: ubuntu-latest
2410
permissions:
2511
packages: write
@@ -31,6 +17,11 @@ jobs:
3117
node-version: 20
3218
registry-url: https://npm.pkg.github.com/
3319
scope: '@beeinventor'
20+
- uses: pnpm/action-setup@v4
21+
with:
22+
version: 9
23+
- run: pnpm i
24+
- run: pnpm build
3425
- run: npm publish
3526
env:
3627
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "@beeinventor/dasiot-react-component-lib",
33
"version": "1.9.0",
4+
"module": "lib/index.js",
5+
"types": "lib/index.d.ts",
46
"type": "module",
57
"files": [
68
"lib",

0 commit comments

Comments
 (0)