Skip to content

Commit

Permalink
chore: add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed May 17, 2024
1 parent ad3f046 commit 04947ca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
pnpm install
composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
pnpm run deploy
pnpm run release
npx release-it --ci --no-git --no-npm --no-increment
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
7 changes: 0 additions & 7 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,5 @@
},
"hooks": {
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"plugins": {
"version": {
"src": "package.json",
"type": "json",
"path": "version"
}
}
}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
"lint:js": "wp-scripts lint-js gulpfile.js",
"lint:js:fix": "wp-scripts lint-js gulpfile.js --fix",
"lint:json": "wp-scripts format theme.json package.json ./styles",
"prerelease": "pnpm run deploy",
"release": "dotenv release-it -- --no-git --no-npm --no-increment",
"rtl": "rtlcss style.css style-rtl.css && rtlcss editor-style.css editor-style-rtl.css && rtlcss woocommerce.css woocommerce-rtl.css",
"version": "easy-replace-in-files",
"ready": "pnpm run version && pnpm run pot && shx rm -rf assets/ && pnpm run prod && pnpm run rtl",
Expand Down

0 comments on commit 04947ca

Please sign in to comment.