mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +01:00
ci(js): sed workdir, enable mac build
This commit is contained in:
parent
decbda1bc8
commit
01f2d70ddb
2 changed files with 4 additions and 5 deletions
7
.github/workflows/javascript.yml
vendored
7
.github/workflows/javascript.yml
vendored
|
@ -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:
|
||||
|
|
2
dist/js/publish/package.json
vendored
2
dist/js/publish/package.json
vendored
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@codemp/native",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "^2.18.4"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue