Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcomac committed May 21, 2024
1 parent 3eb67b4 commit 3189445
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@ jobs:
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip

# Run build
# Set up Node.js
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install

# Generate minified CSS
- name: Generate minified CSS
run: npm run build:css

# Run build
- run: npm run build
- run: npm run build:css

# Create a zip file with all files required by the module to add to the release
- run: zip -r ./system.zip system.json readme.md LICENSE.txt readme/ assets/ styles/ build/ lang/ packs/
Expand Down Expand Up @@ -72,4 +77,5 @@ jobs:
uses: notiz-dev/github-action-json-property@release
with:
path: "./system.json"
prop_path: "compatibility.verified"
prop_path: "compatibility.verified"

0 comments on commit 3189445

Please sign in to comment.