Skip to content

Commit

Permalink
chore: more config file cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed May 9, 2022
1 parent bd08bc0 commit 2bab580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,21 @@ jobs:
release:
runs-on: ubuntu-latest
needs: [format, test]
if: ${{ github.repository == 'marko-js/htmljs-parser' && github.event_name == 'push' }}
if: "${{ github.repository_owner == 'marko-js' && github.event_name == 'push' }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 16
cache: npm
- name: Install dependencies
run: npm ci
- name: Release
id: changesets
uses: changesets/action@v1
with:
createGithubReleases: true
version: npm run version
publish: npm run publish
commit: "[ci] release"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"lint:prettier": "prettier \"./**/*{.ts,.js,.json,.md,.yml,rc}\"",
"mocha": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/*.test.ts\"",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"publish": "npm run build && changeset publish",
"report": "open ./coverage/lcov-report/index.html",
"test": "npm run mocha -- --watch",
Expand Down

0 comments on commit 2bab580

Please sign in to comment.