Skip to content

Commit

Permalink
ci(js): sed workdir, enable mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
alemidev committed Sep 9, 2024
1 parent 46baa48 commit b1c46f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ jobs:
target: linux-x64-gnu
- runner: windows-latest
target: win32-x64
#- runner: macos-14
# target: darwin-arm64
#- runner: macos-12
# target: darwin-64
- runner: macos-14
target: darwin-arm64
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v3
Expand Down Expand Up @@ -79,6 +77,7 @@ jobs:
# so we just sed out before releasing. this is really ugly but if it works right now i'll just
# take it and think again about it later
- run: sed -i 's/"@codemp\/native"/"codemp"/' package.json
working-directory: dist/js/publish
- run: npm publish
working-directory: dist/js/publish
env:
Expand Down
2 changes: 1 addition & 1 deletion dist/js/publish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codemp/native",
"version": "0.0.6",
"version": "0.0.7",
"devDependencies": {
"@napi-rs/cli": "^2.18.4"
},
Expand Down

0 comments on commit b1c46f1

Please sign in to comment.