From 2230886fb6ec2763ce704dd5220a94631b5f9604 Mon Sep 17 00:00:00 2001 From: garthdb Date: Thu, 14 Mar 2024 16:54:24 -0600 Subject: [PATCH] ci: fixed config option --- .github/workflows/release.yml | 5 ++--- .moon/workspace.yml | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eec3bef5..2153be42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pnpm/action-setup@v3 + - uses: moonrepo/setup-toolchain@v0 with: - version: 8 - - run: pnpm i + auto-install: true - name: Publish id: changesets uses: changesets/action@v1 diff --git a/.moon/workspace.yml b/.moon/workspace.yml index 88e6e73a..665d2850 100644 --- a/.moon/workspace.yml +++ b/.moon/workspace.yml @@ -1,5 +1,5 @@ # https://moonrepo.dev/docs/config/workspace -$schema: "https://moonrepo.dev/schemas/workspace.json" +$schema: 'https://moonrepo.dev/schemas/workspace.json' # Require a specific version of moon while running commands, otherwise fail. # versionConstraint: '>=1.0.0' @@ -12,8 +12,8 @@ $schema: "https://moonrepo.dev/schemas/workspace.json" # path to the project folder as the map value. File paths are relative from the workspace root, # and cannot reference projects located outside the workspace boundary. projects: - - "docs/*" - - "packages/*" + - 'docs/*' + - 'packages/*' # Configures the version control system to utilize within the workspace. A VCS # is required for determining touched (added, modified, etc) files, calculating file hashes, @@ -21,9 +21,9 @@ projects: vcs: # The client to use when managing the repository. # Accepts "git". Defaults to "git". - manager: "git" + manager: 'git' # The default branch (master/main/trunk) in the repository for comparing the # local branch against. For git, this is is typically "master" or "main", # and must include the remote prefix (before /). - defaultBranch: "monorepo" + defaultBranch: 'main'