Open
Description
I have a workflow that makes a PR\publishing to NPM when there a new changeset. It is a monorepo, but it worked for me well until a month ago, since then, I'm getting this Error: There is no .changeset directory in this project
error, and I didn't changed anything in the workflow neither in the folder structure in my repo. Attaching my workflow and the action log:
name: Publish SDK
on:
workflow_run:
workflows: [CI-SDK]
branches: [main]
types: [completed]
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
pull-requests: write
defaults:
run:
working-directory: extension-files/bringweb3-sdk
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
cache-dependency-path: 'extension-files/bringweb3-sdk/yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
cwd: "./extension-files/bringweb3-sdk"
commit: "chore(release): version SDK package"
title: "chore(release): version SDK package"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Log file:
2025-05-22T10:42:36.3048252Z Current runner version: '2.324.0'
2025-05-22T10:42:36.3072641Z ##[group]Runner Image Provisioner
2025-05-22T10:42:36.3073569Z Hosted Compute Agent
2025-05-22T10:42:36.3074377Z Version: 20250508.323
2025-05-22T10:42:36.3074991Z Commit: 81b259f29879f73b4213d199e42d8c3465dae986
2025-05-22T10:42:36.3076159Z Build Date: 2025-05-08T19:40:08Z
2025-05-22T10:42:36.3076820Z ##[endgroup]
2025-05-22T10:42:36.3077335Z ##[group]Operating System
2025-05-22T10:42:36.3077989Z Ubuntu
2025-05-22T10:42:36.3078476Z 24.04.2
2025-05-22T10:42:36.3078947Z LTS
2025-05-22T10:42:36.3079469Z ##[endgroup]
2025-05-22T10:42:36.3079940Z ##[group]Runner Image
2025-05-22T10:42:36.3080504Z Image: ubuntu-24.04
2025-05-22T10:42:36.3081091Z Version: 20250511.1.0
2025-05-22T10:42:36.3082060Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250511.1/images/ubuntu/Ubuntu2404-Readme.md
2025-05-22T10:42:36.3083651Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250511.1
2025-05-22T10:42:36.3084853Z ##[endgroup]
2025-05-22T10:42:36.3086092Z ##[group]GITHUB_TOKEN Permissions
2025-05-22T10:42:36.3088229Z Contents: write
2025-05-22T10:42:36.3088816Z Metadata: read
2025-05-22T10:42:36.3089447Z PullRequests: write
2025-05-22T10:42:36.3090037Z ##[endgroup]
2025-05-22T10:42:36.3092342Z Secret source: Actions
2025-05-22T10:42:36.3093199Z Prepare workflow directory
2025-05-22T10:42:36.3645878Z Prepare all required actions
2025-05-22T10:42:36.3701693Z Getting action download info
2025-05-22T10:42:36.7337919Z ##[group]Download immutable action package 'actions/checkout@v4'
2025-05-22T10:42:36.7339040Z Version: 4.2.2
2025-05-22T10:42:36.7340069Z Digest: sha256:ccb2698953eaebd21c7bf6268a94f9c26518a7e38e27e0b83c1fe1ad049819b1
2025-05-22T10:42:36.7341490Z Source commit SHA: 11bd71901bbe5b1630ceea73d27597364c9af683
2025-05-22T10:42:36.7342304Z ##[endgroup]
2025-05-22T10:42:36.8080850Z ##[group]Download immutable action package 'actions/setup-node@v4'
2025-05-22T10:42:36.8081760Z Version: 4.4.0
2025-05-22T10:42:36.8082576Z Digest: sha256:9427cefe82346e992fb5b949e3569b39d537ae41aa3086483b14eceebfc16bc1
2025-05-22T10:42:36.8083678Z Source commit SHA: 49933ea5288caeca8642d1e84afbd3f7d6820020
2025-05-22T10:42:36.8084768Z ##[endgroup]
2025-05-22T10:42:36.8948953Z Download action repository 'changesets/action@v1' (SHA:e0145edc7d9d8679003495b11f87bd8ef63c0cba)
2025-05-22T10:42:37.2658373Z Complete job name: publish
2025-05-22T10:42:37.3343081Z ##[group]Run actions/checkout@v4
2025-05-22T10:42:37.3344347Z with:
2025-05-22T10:42:37.3344870Z repository: Bring-Web3-LTD/chromeExtension
2025-05-22T10:42:37.3345654Z token: ***
2025-05-22T10:42:37.3346085Z ssh-strict: true
2025-05-22T10:42:37.3346513Z ssh-user: git
2025-05-22T10:42:37.3346967Z persist-credentials: true
2025-05-22T10:42:37.3347478Z clean: true
2025-05-22T10:42:37.3347924Z sparse-checkout-cone-mode: true
2025-05-22T10:42:37.3348456Z fetch-depth: 1
2025-05-22T10:42:37.3348877Z fetch-tags: false
2025-05-22T10:42:37.3349330Z show-progress: true
2025-05-22T10:42:37.3349846Z lfs: false
2025-05-22T10:42:37.3350257Z submodules: false
2025-05-22T10:42:37.3350716Z set-safe-directory: true
2025-05-22T10:42:37.3351517Z ##[endgroup]
2025-05-22T10:42:37.4416675Z Syncing repository: Bring-Web3-LTD/chromeExtension
2025-05-22T10:42:37.4418640Z ##[group]Getting Git version info
2025-05-22T10:42:37.4419594Z Working directory is '/home/runner/work/chromeExtension/chromeExtension'
2025-05-22T10:42:37.4420711Z [command]/usr/bin/git version
2025-05-22T10:42:37.4455644Z git version 2.49.0
2025-05-22T10:42:37.4481662Z ##[endgroup]
2025-05-22T10:42:37.4501759Z Temporarily overriding HOME='/home/runner/work/_temp/931fb025-302a-4e16-a856-d8314bf18ada' before making global git config changes
2025-05-22T10:42:37.4503249Z Adding repository directory to the temporary git global config as a safe directory
2025-05-22T10:42:37.4506883Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/chromeExtension/chromeExtension
2025-05-22T10:42:37.4539828Z Deleting the contents of '/home/runner/work/chromeExtension/chromeExtension'
2025-05-22T10:42:37.4543318Z ##[group]Initializing the repository
2025-05-22T10:42:37.4547397Z [command]/usr/bin/git init /home/runner/work/chromeExtension/chromeExtension
2025-05-22T10:42:37.4628817Z hint: Using 'master' as the name for the initial branch. This default branch name
2025-05-22T10:42:37.4630719Z hint: is subject to change. To configure the initial branch name to use in all
2025-05-22T10:42:37.4632520Z hint: of your new repositories, which will suppress this warning, call:
2025-05-22T10:42:37.4634077Z hint:
2025-05-22T10:42:37.4634970Z hint: git config --global init.defaultBranch <name>
2025-05-22T10:42:37.4636172Z hint:
2025-05-22T10:42:37.4636833Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2025-05-22T10:42:37.4637861Z hint: 'development'. The just-created branch can be renamed via this command:
2025-05-22T10:42:37.4638745Z hint:
2025-05-22T10:42:37.4639416Z hint: git branch -m <name>
2025-05-22T10:42:37.4640446Z Initialized empty Git repository in /home/runner/work/chromeExtension/chromeExtension/.git/
2025-05-22T10:42:37.4644779Z [command]/usr/bin/git remote add origin https://github.com/Bring-Web3-LTD/chromeExtension
2025-05-22T10:42:37.4678265Z ##[endgroup]
2025-05-22T10:42:37.4679622Z ##[group]Disabling automatic garbage collection
2025-05-22T10:42:37.4683075Z [command]/usr/bin/git config --local gc.auto 0
2025-05-22T10:42:37.4711871Z ##[endgroup]
2025-05-22T10:42:37.4713288Z ##[group]Setting up auth
2025-05-22T10:42:37.4719466Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-05-22T10:42:37.4750301Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-05-22T10:42:37.5032581Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-05-22T10:42:37.5063446Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-05-22T10:42:37.5278762Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2025-05-22T10:42:37.5322428Z ##[endgroup]
2025-05-22T10:42:37.5324469Z ##[group]Fetching the repository
2025-05-22T10:42:37.5332636Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +ee51d10451ad617640c79383bf14bd05356a1e4b:refs/remotes/origin/main
2025-05-22T10:42:37.9399417Z From https://github.com/Bring-Web3-LTD/chromeExtension
2025-05-22T10:42:37.9401958Z * [new ref] ee51d10451ad617640c79383bf14bd05356a1e4b -> origin/main
2025-05-22T10:42:37.9425904Z ##[endgroup]
2025-05-22T10:42:37.9427717Z ##[group]Determining the checkout info
2025-05-22T10:42:37.9429674Z ##[endgroup]
2025-05-22T10:42:37.9434626Z [command]/usr/bin/git sparse-checkout disable
2025-05-22T10:42:37.9475365Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
2025-05-22T10:42:37.9506382Z ##[group]Checking out the ref
2025-05-22T10:42:37.9510727Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2025-05-22T10:42:37.9675261Z Switched to a new branch 'main'
2025-05-22T10:42:37.9677637Z branch 'main' set up to track 'origin/main'.
2025-05-22T10:42:37.9685343Z ##[endgroup]
2025-05-22T10:42:37.9718934Z [command]/usr/bin/git log -1 --format=%H
2025-05-22T10:42:37.9740939Z ee51d10451ad617640c79383bf14bd05356a1e4b
2025-05-22T10:42:38.0044983Z ##[group]Run actions/setup-node@v4
2025-05-22T10:42:38.0046156Z with:
2025-05-22T10:42:38.0046962Z node-version: lts/*
2025-05-22T10:42:38.0047880Z cache: yarn
2025-05-22T10:42:38.0049135Z cache-dependency-path: extension-files/bringweb3-sdk/yarn.lock
2025-05-22T10:42:38.0050704Z always-auth: false
2025-05-22T10:42:38.0051631Z check-latest: false
2025-05-22T10:42:38.0053070Z token: ***
2025-05-22T10:42:38.0054022Z ##[endgroup]
2025-05-22T10:42:38.1743418Z Attempt to resolve LTS alias from manifest...
2025-05-22T10:42:38.5800196Z Found in cache @ /opt/hostedtoolcache/node/22.15.0/x64
2025-05-22T10:42:38.5806624Z ##[group]Environment details
2025-05-22T10:42:38.9228561Z node: v22.15.0
2025-05-22T10:42:38.9230041Z npm: 10.9.2
2025-05-22T10:42:38.9231244Z yarn: 1.22.22
2025-05-22T10:42:38.9233735Z ##[endgroup]
2025-05-22T10:42:38.9295732Z [command]/usr/local/bin/yarn --version
2025-05-22T10:42:39.0496504Z 1.22.22
2025-05-22T10:42:39.0601358Z [command]/usr/local/bin/yarn cache dir
2025-05-22T10:42:39.2141770Z /home/runner/.cache/yarn/v6
2025-05-22T10:42:39.2323513Z [command]/usr/local/bin/yarn config get enableGlobalCache
2025-05-22T10:42:39.3837782Z undefined
2025-05-22T10:42:39.5067321Z yarn cache is not found
2025-05-22T10:42:39.5194219Z ##[group]Run yarn install --frozen-lockfile
2025-05-22T10:42:39.5194608Z �[36;1myarn install --frozen-lockfile�[0m
2025-05-22T10:42:39.5376209Z shell: /usr/bin/bash -e {0}
2025-05-22T10:42:39.5376484Z ##[endgroup]
2025-05-22T10:42:39.6629265Z yarn install v1.22.22
2025-05-22T10:42:39.7122447Z [1/4] Resolving packages...
2025-05-22T10:42:39.7991753Z [2/4] Fetching packages...
2025-05-22T10:42:45.6134403Z [3/4] Linking dependencies...
2025-05-22T10:42:46.4885981Z [4/4] Building fresh packages...
2025-05-22T10:42:46.5779456Z Done in 6.92s.
2025-05-22T10:42:46.6163444Z ##[group]Run changesets/action@v1
2025-05-22T10:42:46.6163713Z with:
2025-05-22T10:42:46.6164056Z publish: yarn release
2025-05-22T10:42:46.6164284Z cwd: ./extension-files/bringweb3-sdk
2025-05-22T10:42:46.6164558Z commit: chore(release): version SDK package
2025-05-22T10:42:46.6164830Z title: chore(release): version SDK package
2025-05-22T10:42:46.6165087Z setupGitUser: true
2025-05-22T10:42:46.6165285Z createGithubReleases: true
2025-05-22T10:42:46.6165499Z commitMode: git-cli
2025-05-22T10:42:46.6165678Z env:
2025-05-22T10:42:46.6166104Z GITHUB_TOKEN: ***
2025-05-22T10:42:46.6166400Z NPM_TOKEN: ***
2025-05-22T10:42:46.6166587Z ##[endgroup]
2025-05-22T10:42:46.7253321Z setting git user
2025-05-22T10:42:46.7290710Z [command]/usr/bin/git config user.name "github-actions[bot]"
2025-05-22T10:42:46.7357800Z [command]/usr/bin/git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
2025-05-22T10:42:46.7386820Z setting GitHub credentials
2025-05-22T10:42:46.7420786Z ##[error]Error: There is no .changeset directory in this project
2025-05-22T10:42:46.7429761Z ##[error]There is no .changeset directory in this project
2025-05-22T10:42:46.7542668Z Post job cleanup.
2025-05-22T10:42:46.8464476Z [command]/usr/bin/git version
2025-05-22T10:42:46.8500062Z git version 2.49.0
2025-05-22T10:42:46.8544800Z Temporarily overriding HOME='/home/runner/work/_temp/953e78e8-cbf7-4abb-bdf6-946ec753f62f' before making global git config changes
2025-05-22T10:42:46.8546358Z Adding repository directory to the temporary git global config as a safe directory
2025-05-22T10:42:46.8558678Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/chromeExtension/chromeExtension
2025-05-22T10:42:46.8594604Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-05-22T10:42:46.8626848Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-05-22T10:42:46.8848292Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-05-22T10:42:46.8868042Z http.https://github.com/.extraheader
2025-05-22T10:42:46.8879797Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2025-05-22T10:42:46.8911510Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-05-22T10:42:46.9329620Z Cleaning up orphan processes
Metadata
Metadata
Assignees
Labels
No labels