File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 4242 with :
4343 node-version : ${{ env.NODE_VERSION }}
4444 check-latest : true
45- - uses : step-security/wait-for-secrets@v1
46- id : wait-for-secrets
47- with :
48- secrets : |
49- OTP:
50- name: 'OTP to publish package'
51- description: 'OTP from authenticator app'
5245 - name : Set NPM
5346 run : |
5447 echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
6659 if : ${{ env.VERSION != env.PUBLISHED_VERSION }}
6760 run : |
6861 yarn build
62+ - name : Test publish on NPM
63+ run : npm publish --dry-run
64+ uses : step-security/wait-for-secrets@v1
65+ id : wait-for-secrets
66+ with :
67+ secrets : |
68+ OTP:
69+ name: 'OTP to publish package'
70+ description: 'OTP from authenticator app'
6971 - name : Publish on NPM
7072 if : ${{ env.VERSION != env.PUBLISHED_VERSION }}
7173 run : |
Original file line number Diff line number Diff line change 11{
22 "name" : " react-usage-bar" ,
3- "version" : " 1.1.20 " ,
3+ "version" : " 1.1.21 " ,
44 "description" : " Usage bar, graphic component for React" ,
55 "type" : " module" ,
66 "main" : " build/index.js" ,
You can’t perform that action at this time.
0 commit comments