Skip to content

Commit db59632

Browse files
committed
update pipeline to build before publish
1 parent c98b933 commit db59632

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
node-version: 12
2525
registry-url: https://registry.npmjs.org/
2626
- run: yarn
27+
- run: yarn build
2728
- run: yarn publish --access public
2829
env:
2930
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
File renamed without changes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adblock-detect-react",
3-
"version": "1.0.0",
3+
"version": "1.0.0-beta.1",
44
"description": "Provide React Hook that checks if AdBlock is enabled on the page.",
55
"main": "lib/index.js",
66
"module": "build/index.js",
@@ -36,4 +36,4 @@
3636
"react": "^16.8.0",
3737
"react-dom": "^16.8.0"
3838
}
39-
}
39+
}

0 commit comments

Comments
 (0)