From e30e74e0b6406bc417b10dff001a0dbc0c41a5d1 Mon Sep 17 00:00:00 2001 From: Mohit Karekar Date: Thu, 6 Mar 2025 01:06:21 +0100 Subject: [PATCH] Fix changesets --- .changeset/modern-areas-stay.md | 5 +++++ .github/workflows/release.yaml | 9 +++++++-- package.json | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .changeset/modern-areas-stay.md diff --git a/.changeset/modern-areas-stay.md b/.changeset/modern-areas-stay.md new file mode 100644 index 0000000..2536a8b --- /dev/null +++ b/.changeset/modern-areas-stay.md @@ -0,0 +1,5 @@ +--- +"gom-lang": patch +--- + +Fix changeset diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f3fa3c6..a92f6a5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,20 +15,25 @@ jobs: - name: Checkout Repo uses: actions/checkout@v3 + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2 + with: + version: "14.0" + - name: Setup Node.js 20.x uses: actions/setup-node@v3 with: node-version: 20.x - name: Install Dependencies - run: yarn + run: npm install - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: # This expects you to have a script called release which does a build for your packages and calls changeset publish - publish: yarn release + publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 9eb18d6..b40f0ce 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "build": "tsc", "test": "vitest run", "compile": "tsx run.ts", - "changeset": "changeset" + "changeset": "changeset", + "release": "changeset publish" }, "keywords": [], "author": "",