From 2bab580f3543799ccf1d7b0ab06c36c9c1faf864 Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Mon, 9 May 2022 15:44:52 -0700 Subject: [PATCH] chore: more config file cleanup --- .github/workflows/ci.yml | 5 ++--- package.json | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6d697c0..8b4b9b15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,14 +62,14 @@ 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 @@ -77,7 +77,6 @@ jobs: id: changesets uses: changesets/action@v1 with: - createGithubReleases: true version: npm run version publish: npm run publish commit: "[ci] release" diff --git a/package.json b/package.json index db417187..fcf562c2 100644 --- a/package.json +++ b/package.json @@ -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",