diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 00000000000..ea2d329fa02 --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# 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://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git "a/\343\203\225\343\202\241\343\202\244\343\203\253\343\202\222\345\217\226\345\276\227" "b/\343\203\225\343\202\241\343\202\244\343\203\253\343\202\222\345\217\226\345\276\227" new file mode 100644 index 00000000000..402e2af9da4 --- /dev/null +++ "b/\343\203\225\343\202\241\343\202\244\343\203\253\343\202\222\345\217\226\345\276\227" @@ -0,0 +1,38 @@ +# ファイルを取得 ++get_file_1: + action>: GetFile + display_name>: 'ファイルを取得' + provider: local + filename: rc_36b0011677688bf489d7 + private: false + meta: + display: + filename: + label: 'sample-card.png' + icon: text + type: chip + action: + disabled: false +# Document Forceでドキュメントを解析 ++d_f_analyze_document_1: + action>: DFAnalyzeDocument + display_name>: 'Document Forceでドキュメントを解析' + provider_id: documentforce_03f3151d6f9accddcffa + endpoint: 'https://app.aipuncher.com/api/v2/analyse/****************' + file: +get_file_1 + tags: + AUTORO DevOps: + - '開発テストタグ' + wait_for_result: false + private: false + meta: + display: + provider_id: + type: chip + label: 'Documentforce (AUTORO連携用)' + icon: documentforce + action: + disabled: false +# { +# "document_id": 1027 +# }