diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7d9d339..690a304 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,6 +16,6 @@ jobs: - run: yarn install - run: yarn build - run: yarn test - - run: yarn workspaces foreach -W --no-private npm publish --access public + - run: yarn workspaces foreach -A --no-private run publish_to_npm env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/i18n-types/package.json b/packages/i18n-types/package.json index 4e1669c..c95b7c6 100644 --- a/packages/i18n-types/package.json +++ b/packages/i18n-types/package.json @@ -21,6 +21,7 @@ "scripts": { "build": "parcel build", "format": "biome format index.ts", - "check": "biome check index.ts" + "check": "biome check index.ts", + "publish_to_npm": "npm publish" } } diff --git a/packages/intl-formatters/package.json b/packages/intl-formatters/package.json index e335bd4..f6df51a 100644 --- a/packages/intl-formatters/package.json +++ b/packages/intl-formatters/package.json @@ -41,6 +41,7 @@ "test": "NODE_ICU_DATA=../../node_modules/full-icu && node --loader=ts-node/esm test.ts", "test:ci": "NODE_ICU_DATA=../../node_modules/full-icu && c8 -r lcov -r text node --loader=ts-node/esm test.ts", "format": "biome format src", - "check": "biome check src" + "check": "biome check src", + "publish_to_npm": "npm publish" } } diff --git a/packages/make-plural/package.json b/packages/make-plural/package.json index 547876f..a367bc5 100644 --- a/packages/make-plural/package.json +++ b/packages/make-plural/package.json @@ -39,6 +39,7 @@ "test": "node --loader=ts-node/esm test.ts", "test:ci": "c8 -r lcov -r text node --loader=ts-node/esm test.ts", "format": "biome format src", - "check": "biome check src" + "check": "biome check src", + "publish_to_npm": "npm publish" } } diff --git a/packages/messageformat/package.json b/packages/messageformat/package.json index e5bbdf8..589eded 100644 --- a/packages/messageformat/package.json +++ b/packages/messageformat/package.json @@ -41,6 +41,7 @@ "test": "node --loader=ts-node/esm test.ts", "test:ci": "c8 -r lcov -r text node --loader=ts-node/esm test.ts", "format": "biome format src", - "check": "biome check src" + "check": "biome check src", + "publish_to_npm": "npm publish" } }