Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -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}}
38 changes: 38 additions & 0 deletions ファイルを取得
Original file line number Diff line number Diff line change
@@ -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
# }