Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use foundryvtt-cli to build compendium packs #75

Merged
merged 6 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Use foundryvtt-cli to build packs
  • Loading branch information
kaelad02 committed Sep 12, 2024
commit d11bda6c3d817275e0666951e198fc26b97d61c3
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ jobs:
changelog: https://github.com/${{github.repository}}/blob/main/CHANGELOG.md
readme: https://github.com/${{github.repository}}/blob/main/README.md

# Use NPM to build the packs
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build Packs
run: npm run build

# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip module.json LICENSE css/ lang/ packs/ src/ templates/

Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"name": "sample-items",
"label": "AR Message Sample Items",
"system": "dnd5e",
"path": "packs/sample-items.db",
"path": "packs/sample-items",
"type": "Item"
}
],
Expand Down
Loading