diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a201c3d..dd7db76 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,9 +26,6 @@ jobs: - name: Test run: pnpm test - - name: Checkout branch - run: git checkout ${{ github.ref_name }} - - name: Publish to NPM run: pnpm release diff --git a/package.json b/package.json index e66d4aa..8dbe716 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "tsup ./src/amadeus/index.ts --clean --format cjs,esm --dts", "test": "vitest run", "lint": "tsc", - "release": "pnpm build && pnpm publish" + "release": "pnpm build && pnpm publish --no-git-checks --access public" }, "keywords": [ "amadeus",