Skip to content

Commit 2a9916d

Browse files
committed
chore: bump to v1.1.21
1 parent 5f25122 commit 2a9916d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ jobs:
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
@@ -66,6 +59,15 @@ jobs:
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: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)