diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index d6c201c..02faa91 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -14,6 +14,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - name: Publish package on NPM 📦 - run: yarn install --immutable && npm publish + run: npx tsc && npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + \ No newline at end of file diff --git a/package.json b/package.json index 386f647..66eeaae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hydrodenpay-react-native-webview", - "version": "0.1.1", + "version": "0.1.2", "description": "hydrogen pay react native webview wrapper", "main": "lib/commonjs/index", "module": "lib/module/index", @@ -30,9 +30,7 @@ "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", - "clean": "del-cli lib", - "prepare": "bob build", - "release": "release-it" + "clean": "del-cli lib" }, "keywords": [ "react-native", diff --git a/src/index.tsx b/src/index.tsx index 6cc49b3..39c237f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,4 @@ +//@ts-ignore import React, { forwardRef, useState,