From ab7a8114b547f263deed97c740ab442f6e615023 Mon Sep 17 00:00:00 2001 From: Mackenzie Zastrow Date: Sun, 4 Feb 2024 15:46:15 -0600 Subject: [PATCH] commit --- .github/workflows/npm-publish.yml | 5 ++--- package.json | 6 ++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2c38ef0..ec985d0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -19,8 +19,6 @@ jobs: - run: corepack enable - run: yarn install - run: yarn run build - - run: cd ./dist - - run: npx release-it --dry-run --ci --preRelease=preview publish-npm: needs: build @@ -31,4 +29,5 @@ jobs: with: node-version: 18 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: cd ./dist + - run: npx release-it --ci --preRelease=preview diff --git a/package.json b/package.json index dd18f14..b1f9735 100644 --- a/package.json +++ b/package.json @@ -30,12 +30,14 @@ }, "release-it": { "git": { + "requireCleanWorkingDir": false, "commit": false, "push": false }, "npm": { - "publish": false, - "ignoreVersion": true + "ignoreVersion": true, + "publish": true, + "publishArgs": "--dry-run" }, "github": { "release": true