diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index d1cd003..aeaee32 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -4,12 +4,15 @@ inputs: node-auth-token: description: 'node token for authorization' required: true + working-directory: + description: 'working directory' + required: true runs: using: composite steps: - name: Publish package - run: yarn publish + run: yarn publish --cwd ${{ inputs.working-directory }} shell: bash env: NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e2be52e..e02cbce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -84,6 +84,7 @@ jobs: - uses: ./.github/actions/install-dependencies - uses: ./.github/actions/publish-package with: + working-directory: ./packages/core node-auth-token: ${{ secrets.NPM_TOKEN }} publish-v1: @@ -99,4 +100,5 @@ jobs: - uses: ./.github/actions/install-dependencies - uses: ./.github/actions/publish-package with: + working-directory: ./packages/v1 node-auth-token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index a6210b2..661b5d4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ ], "repository": "https://github.com/jcam1/sdks.git", "license": "MIT", - "version": "1.1.0", + "version": "1.2.0", "engines": { "node": "^20.12.0", "yarn": "^1.22.22" diff --git a/packages/core/README-ja.md b/packages/core/README-ja.md deleted file mode 100644 index 56e5957..0000000 --- a/packages/core/README-ja.md +++ /dev/null @@ -1 +0,0 @@ -# JPYC Core SDK diff --git a/packages/v1/README-ja.md b/packages/v1/README-ja.md deleted file mode 100644 index 166ba54..0000000 --- a/packages/v1/README-ja.md +++ /dev/null @@ -1 +0,0 @@ -# JPYC V1 SDK