File tree 2 files changed +7
-14
lines changed
2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 5
5
types : [created]
6
6
7
7
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
-
21
8
publish-gpr :
22
- needs : build
23
9
runs-on : ubuntu-latest
24
10
permissions :
25
11
packages : write
31
17
node-version : 20
32
18
registry-url : https://npm.pkg.github.com/
33
19
scope : ' @beeinventor'
20
+ - uses : pnpm/action-setup@v4
21
+ with :
22
+ version : 9
23
+ - run : pnpm i
24
+ - run : pnpm build
34
25
- run : npm publish
35
26
env :
36
27
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @beeinventor/dasiot-react-component-lib" ,
3
3
"version" : " 1.9.0" ,
4
+ "module" : " lib/index.js" ,
5
+ "types" : " lib/index.d.ts" ,
4
6
"type" : " module" ,
5
7
"files" : [
6
8
" lib" ,
You can’t perform that action at this time.
0 commit comments