diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index cf6ee3c..7516c19 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -5,25 +5,19 @@ on: types: [created] jobs: - build: + build-and-publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - run: yarn install - - run: yarn build - - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm publish + - name: Build package + run: yarn install && yarn build + - name: Publish package on NPM + run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/package.json b/package.json index 197cd49..2ad9650 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@expressms/smartapp-bridge", - "version": "1.2.2", + "version": "1.2.3", "description": "SmartApp bridge library", "main": "build/main/index.js", "typings": "build/main/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 000df09..e61a22e 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const LIB_VERSION = "1.2.2"; +export const LIB_VERSION = "1.2.3";