diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e24c0107..868fd087 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -30,6 +30,17 @@ jobs: manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download//${{github.event.release.tag_name}}/system.json download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/foundryvtt-reve-de-dragon-${{github.event.release.tag_name}}.zip + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' # Use the node version your project requires + + - name: Install dependencies + run: npm install + + - name: Build the compendiums + run: node ./tools/packCompendiumsToDist.mjs + # Create a zip file with all files required by the module to add to the release - run: | apt update -y