Skip to content

Commit 2bab580

Browse files
committed
chore: more config file cleanup
1 parent bd08bc0 commit 2bab580

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,21 @@ jobs:
6262
release:
6363
runs-on: ubuntu-latest
6464
needs: [format, test]
65-
if: ${{ github.repository == 'marko-js/htmljs-parser' && github.event_name == 'push' }}
65+
if: "${{ github.repository_owner == 'marko-js' && github.event_name == 'push' }}"
6666
steps:
6767
- name: Checkout code
6868
uses: actions/checkout@v3
6969
- name: Setup node
7070
uses: actions/setup-node@v3
7171
with:
72-
node-version: 16.x
72+
node-version: 16
7373
cache: npm
7474
- name: Install dependencies
7575
run: npm ci
7676
- name: Release
7777
id: changesets
7878
uses: changesets/action@v1
7979
with:
80-
createGithubReleases: true
8180
version: npm run version
8281
publish: npm run publish
8382
commit: "[ci] release"

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
"lint:prettier": "prettier \"./**/*{.ts,.js,.json,.md,.yml,rc}\"",
6969
"mocha": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/*.test.ts\"",
7070
"prepare": "husky install",
71-
"prepublishOnly": "npm run build",
7271
"publish": "npm run build && changeset publish",
7372
"report": "open ./coverage/lcov-report/index.html",
7473
"test": "npm run mocha -- --watch",

0 commit comments

Comments
 (0)