-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error Error: Cannot find module '@changesets/changelog-github' #238
Comments
Did you add |
@Andarist i'm using Please see as following
Would you suggest I update |
I was suggesting that it should just get simply installed in your project. I don't see a huge value in installing it only on CI - just add it to your root |
@Andarist Thank you! I was misundersting the way the action works, as I'm using a monorepo pnpm based structure while the documenation (by default) provides a yarn based example. I've add to my
And updated my action file to name: Release
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 7
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: "pnpm"
- run: pnpm install --aggregate-output --reporter append-only --frozen-lockfile
- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} (n.b. also deleted the Now everything works great and as expected The action item I would assume it to update the documentation for people who are using Other than that this Issue can be closed. |
I don't think this is specific to the package manager and I'm not sure how our docs could be improved. However, I'm just skimming this issue - if you have any ideas on how the docs could be improved... we always accept PRs :) |
I have created a simple github action called .
github/workflows/release.yml
My
.changeset/config.json
is set to the followingWhen running the job I'm getting the following erorr:
The text was updated successfully, but these errors were encountered: