diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..458018e --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,18 @@ +name: Publish Package to npmjs +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + - run: yarn + - run: yarn publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index e8b1c55..e9cdc42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-signature-pad-v2", - "version": "1.0.1", + "version": "1.1.0", "description": "React Native wrapper around szimek's Canvas based Signature Pad", "main": "index.js", "scripts": {