From 8ea3f2205116984f5196ea61b5bf11a7c0f165ff Mon Sep 17 00:00:00 2001 From: ikoamu Date: Wed, 24 Jan 2024 00:40:47 +0900 Subject: Add .gitignore, package.json, action.yml, and generateJson.js files --- action.yml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'action.yml') diff --git a/action.yml b/action.yml index 52becba..80e6d94 100644 --- a/action.yml +++ b/action.yml @@ -3,14 +3,30 @@ name: "Publish org-roam to GitHub Pages" runs: using: "composite" steps: - # 呼び出されたworkflowのリポジトリをチェックアウトし、ファイル一覧を出力する - name: "Checkout" uses: actions/checkout@v4 with: repository: ${{ github.repository }} - path: "repo" - - name: "List files" - run: | - cd repo - find . -type f - shell: bash + path: "orgs" + + - name: Checkout org-roam-ui + uses: actions/checkout@v4 + with: + repository: ikoamu/org-roam-ui + ref: feature/add-export-functionality + path: ui + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: "20.x" + + - name: Install dependencies + run: npm ci + working-directory: . + + - name: Generate graphdata.json + run: npm run generate --script_params=./orgs/org-roam.db + + - name: print graphdata.json + run: cat graphdata.json -- cgit