From 6d37fd35a4ea8329d3a0cb9a23fbc536adb39dcf Mon Sep 17 00:00:00 2001 From: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com> Date: Sat, 8 Jun 2024 04:25:46 +0200 Subject: [PATCH] chore(actions): Add to Publish Script --- .github/workflows/publish.yml | 2 +- internals/scripts/source/{publish.ts => publish.mts} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename internals/scripts/source/{publish.ts => publish.mts} (94%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff109ea..fc08622 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,6 +29,6 @@ jobs: - run: bun run build check test - name: publish - run: bun internals/scripts/source/publish.ts + run: bun internals/scripts/source/publish.mts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/internals/scripts/source/publish.ts b/internals/scripts/source/publish.mts similarity index 94% rename from internals/scripts/source/publish.ts rename to internals/scripts/source/publish.mts index 2c73c51..63d15b6 100644 --- a/internals/scripts/source/publish.ts +++ b/internals/scripts/source/publish.mts @@ -1,7 +1,7 @@ import { $, semver } from 'bun' import { z } from 'zod' -const packagesToConsider = ['packages/schemas'] +const packagesToConsider = ['packages/actions', 'packages/schemas'] const packageJsonSchema = z.object({ name: z.string(), version: z.string() })