Skip to content

Commit

Permalink
[ci-skip] package prebuild name change
Browse files Browse the repository at this point in the history
  • Loading branch information
arition committed Oct 5, 2020
1 parent 257a76b commit 7e0fa9d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: yarn upgrade --dev

- name: Prebuild
run: yarn prebuild
run: yarn build-prebuild

- name: Build
run: yarn build
2 changes: 1 addition & 1 deletion .github/workflows/cuda-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: yarn upgrade --dev

- name: Prebuild
run: yarn prebuild
run: yarn build-prebuild

- name: Build
run: yarn build
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
if: "!contains(github.event.head_commit.message, 'publish-npm skip')"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
if: "!contains(github.event.head_commit.message, 'ci skip')"
if: "!contains(github.event.head_commit.message, 'publish-prebuild skip')"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -69,4 +69,4 @@ jobs:
run: yarn upgrade --dev

- name: Prebuild
run: yarn prebuild -u ${{ secrets.GITHUB_TOKEN }}
run: yarn build-prebuild -u ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arition/torch-js",
"version": "0.7.0-beta.1",
"version": "0.7.0-beta.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Kittipat Virochsiri, arition",
Expand All @@ -10,11 +10,11 @@
"url": "git+https://github.com/arition/torch-js.git"
},
"scripts": {
"install": "prebuild-install || cmake-js compile",
"install": "prebuild-install -r napi || cmake-js compile",
"build": "node build.js",
"compile": "cmake-js compile",
"rebuild": "cmake-js rebuild",
"prebuild": "prebuild -t 3 -r napi --include-regex \"\\.[nsd][ol][dl]?e?$\" --backend cmake-js"
"build-prebuild": "prebuild -t 3 -r napi --include-regex \"\\.[nsd][ol][dl]?e?$\" --backend cmake-js"
},
"devDependencies": {
"@types/node": "^14.6.0",
Expand Down

0 comments on commit 7e0fa9d

Please sign in to comment.