diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 648653e..24d7ba1 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -45,6 +45,21 @@ jobs: run: | kedro run + - name: Use Node.js 13.x + uses: actions/setup-node@v1 + with: + node-version: 13.x + registry-url: https://npm.pkg.github.com/ + scope: '@ownername' + + - name: install npm + run: | + npm i -g gatsby-cli + cd gatsby-kedro-viz && npm install + - name: gatsby build + run: | + cd gatsby-kedro-viz && gatsby build + - uses: actions/upload-artifact@v1 with: name: default-kedro157.json @@ -53,3 +68,8 @@ jobs: with: name: docs path: docs + - uses: actions/upload-artifact@v1 + with: + name: gatsby-kedro-viz + path: gatsby-kedro-viz/public +