diff --git a/main.workflow b/main.workflow new file mode 100644 index 0000000..03354fd --- /dev/null +++ b/main.workflow @@ -0,0 +1,22 @@ +workflow "build and publish" { + on = "push" + resolves = ["publish"] +} + +action "tag" { + uses = "actions/bin/filter@master" + args = "tag" +} + +action "build" { + needs = "tag" + uses = "docker://lambci/lambda:build-nodejs8.10" + runs = ["./scripts/build.sh"] +} + +action "publish" { + needs = "build" + uses = "actions/npm@master" + args = "publish --access public" + secrets = ["NPM_AUTH_TOKEN"] +} diff --git a/tfjs-node/package.json b/tfjs-node/package.json index 9440e84..1f9c016 100644 --- a/tfjs-node/package.json +++ b/tfjs-node/package.json @@ -4,6 +4,6 @@ "main": "index.js", "license": "MIT", "dependencies": { - "@tensorflow/tfjs-node": "0.3.2" + "@tensorflow/tfjs-node": "1.5.2" } }