Skip to content

Commit 9b3a3dc

Browse files
committed
fixed Github workflow file and bumped version
1 parent 42fc9d1 commit 9b3a3dc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
node-version: 12
1818
- run: npm ci
1919
- run: npm test
20+
- run: npm run build
2021

2122
publish-npm:
2223
needs: build
@@ -28,6 +29,7 @@ jobs:
2829
node-version: 12
2930
registry-url: https://registry.npmjs.org/
3031
- run: npm ci
32+
- run: npm run build
3133
- run: npm publish
3234
env:
3335
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -42,6 +44,7 @@ jobs:
4244
node-version: 12
4345
registry-url: https://npm.pkg.github.com/
4446
- run: npm ci
47+
- run: npm run build
4548
- run: npm publish
4649
env:
4750
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-hook-tour",
3-
"version": "1.0.0-rc.0",
3+
"version": "1.0.0-rc.1",
44
"description": "A product tour library using React Hooks",
55
"main": "dist/index.js",
66
"module": "lib/index.js",

0 commit comments

Comments
 (0)