Skip to content

Commit

Permalink
refactor(config): updates prerelease branch names
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 23, 2024
1 parent 3c3457c commit bad20c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/composite.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ jobs:
release:
runs-on: ubuntu-latest
if: |
github.event_name == 'push' &&
github.ref == 'refs/heads/main'
github.event_name == 'push' && (
github.ref == 'refs/heads/alpha' ||
github.ref == 'refs/heads/beta' ||
github.ref == 'refs/heads/canary' ||
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/pre/rc'
)
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
"url": "https://github.com/Kurocado-Studio/styleguide.git"
},
"license": "MPL-2.0",
"scripts": {
"commitlint": "pnpm exec commitlint --edit",
"eslint-check": "eslint --max-warnings=0 .",
"prepare": "husky install",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --check . --write",
"semantic-release": "semantic-release",
"test": "echo \"no test specified\" && exit 0",
"build": "echo \"no build needed\" && exit 0"
},
"exports": {
"./eslint/base": "./src/eslint/eslint.base.js",
"./eslint/browser": "./src/eslint/eslint.browser.js",
Expand Down Expand Up @@ -39,16 +49,6 @@
"src/semantic-release",
"src/tsconfig"
],
"scripts": {
"commitlint": "pnpm exec commitlint --edit",
"eslint-check": "eslint --max-warnings=0 .",
"prepare": "husky install",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --check . --write",
"semantic-release": "semantic-release",
"test": "echo \"no test specified\" && exit 0",
"build": "echo \"no build needed\" && exit 0"
},
"lint-staged": {
"*": [
"pnpm run commitlint",
Expand Down

0 comments on commit bad20c0

Please sign in to comment.