ci(js): sed workdir, enable mac build

This commit is contained in:
əlemi 2024-09-09 22:54:08 +02:00
parent decbda1bc8
commit 01f2d70ddb
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 4 additions and 5 deletions

View file

@ -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
@ -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:

View file

@ -1,6 +1,6 @@
{
"name": "@codemp/native",
"version": "0.0.6",
"version": "0.0.7",
"devDependencies": {
"@napi-rs/cli": "^2.18.4"
},