Skip to content

Commit

Permalink
Merge pull request #19 from ExpressApp/fix/ki/npm-publish
Browse files Browse the repository at this point in the history
Fix publish on NPM
  • Loading branch information
ikudinov authored Dec 1, 2023
2 parents bd8c8f3 + 3be4564 commit c49198f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const LIB_VERSION = "1.2.2";
export const LIB_VERSION = "1.2.3";

0 comments on commit c49198f

Please sign in to comment.