From 8693ae4caa3a5d0caa83cae165789e99ab1a9598 Mon Sep 17 00:00:00 2001 From: Becky Wu Date: Thu, 26 Mar 2020 17:40:52 -0700 Subject: [PATCH] Update npmpublish.yml Change event listener to publishing a release instead of creating a release. --- .github/workflows/npmpublish.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 8b2ec25..477e7f0 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -1,11 +1,11 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages -name: Release +name: Release NPM Package on: release: - types: [created] + types: [published] jobs: build: @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 12 - - run: npm ci + - run: npm install - run: npm test publish-npm: diff --git a/package.json b/package.json index 4c82fc8..d252a3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@twotalltotems/react-native-otp-input", - "version": "1.2.2", + "version": "1.2.3", "description": "is a tiny JS library for one time passcode (OTP). Supports smart input suggestion on iOS and code autofill on Android (it will be filled when you press the copy button on the SMS notification bar)", "main": "index.js", "scripts": {