Skip to content

Commit e18d09f

Browse files
authored
Fix changesets (#10)
1 parent 1bffef4 commit e18d09f

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.changeset/modern-areas-stay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gom-lang": patch
3+
---
4+
5+
Fix changeset

.github/workflows/release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,25 @@ jobs:
1515
- name: Checkout Repo
1616
uses: actions/checkout@v3
1717

18+
- name: Install LLVM and Clang
19+
uses: KyleMayes/install-llvm-action@v2
20+
with:
21+
version: "14.0"
22+
1823
- name: Setup Node.js 20.x
1924
uses: actions/setup-node@v3
2025
with:
2126
node-version: 20.x
2227

2328
- name: Install Dependencies
24-
run: yarn
29+
run: npm install
2530

2631
- name: Create Release Pull Request or Publish to npm
2732
id: changesets
2833
uses: changesets/action@v1
2934
with:
3035
# This expects you to have a script called release which does a build for your packages and calls changeset publish
31-
publish: yarn release
36+
publish: npm run release
3237
env:
3338
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3439
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"build": "tsc",
1111
"test": "vitest run",
1212
"compile": "tsx run.ts",
13-
"changeset": "changeset"
13+
"changeset": "changeset",
14+
"release": "changeset publish"
1415
},
1516
"keywords": [],
1617
"author": "",

0 commit comments

Comments
 (0)