Skip to content

Commit

Permalink
build theme on release
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmandu committed Mar 30, 2024
1 parent 40ec47a commit 57c6c58
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
node-version: lts/*
cache: npm
- run: npm install && mkdir -p ./bin
- run: npm run build
- run: npm run package
- uses: actions/create-release@v1
id: create_release
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
/tests/
bin/
theme/
1 change: 0 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const path = require('path');
const generate = require('./generate');

const THEME_DIR = path.join(__dirname, '..', 'theme');
console.log(THEME_DIR);

if (!fs.existsSync(THEME_DIR)) {
fs.mkdirSync(THEME_DIR);
Expand Down

0 comments on commit 57c6c58

Please # to comment.