File tree 3 files changed +15
-14
lines changed
3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -10,22 +10,16 @@ jobs:
10
10
package_publishing :
11
11
runs-on : ubuntu-latest
12
12
permissions :
13
- contents : read
14
13
packages : write
15
- id-token : write
16
14
env :
17
15
ACTIONS_STEP_DEBUG : true
18
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
16
steps :
20
17
- uses : actions/checkout@v4
21
- with :
22
- fetch-depth : 0
23
18
24
19
- uses : actions/setup-node@v4
25
20
with :
26
21
node-version : ' 20.x'
27
22
registry-url : ' https://npm.pkg.github.com'
28
- scope : ' @salemove'
29
23
30
24
- name : Authenticate to GitHub Packages
31
25
run : echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
35
29
36
30
- run : npm ci
37
31
38
- # Publishing packages
39
- - run : npm pkg set version='${{ github.event.inputs.version }}'
40
- - run : npm publish --tag stable
32
+ - name : Create dist folder
33
+ run : npm run build
34
+
35
+ - name : Set package version
36
+ run : npm pkg set version='${{ github.event.inputs.version }}'
37
+
38
+ - name : Publishing packages
39
+ run : npm publish --@salemove:registry=https://npm.pkg.github.com/
40
+ env :
41
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
- @salemove:registry = https://npm.pkg.github.com/
Original file line number Diff line number Diff line change 22
22
"url" : " git+https://github.com/salemove/widgets_sdk_ionic"
23
23
},
24
24
"publishConfig" : {
25
- "registry" : " https://npm.pkg.github.com"
25
+ "registry" : " https://npm.pkg.github.com" ,
26
+ "access" : " public"
26
27
},
27
28
"bugs" : {
28
29
"url" : " https://github.com/salemove/ios-sdk-widgets/issues"
29
30
},
30
31
"keywords" : [
31
- " capacitor " ,
32
- " plugin " ,
33
- " native "
32
+ " Glia " ,
33
+ " GliaWidgets " ,
34
+ " GliaWidgetsSDK "
34
35
],
35
36
"scripts" : {
36
37
"verify" : " npm run verify:ios && npm run verify:android && npm run verify:web" ,
You can’t perform that action at this time.
0 commit comments