We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b52fb6 commit 34d5a34Copy full SHA for 34d5a34
.github/workflows/ci-typescript.yaml
@@ -29,6 +29,21 @@ jobs:
29
mkdir -p ./out/ &&
30
protoc *.proto --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./out --ts_proto_opt=outputIndex=true
31
32
+ - name: Create package
33
+ run: |
34
+ cd protobuf_definitions/out
35
+ SHORT_SHA=${GITHUB_SHA::8}
36
+ echo '{
37
+ "name": "@blueye-robotocs/protocol-definitions",
38
+ "version": "0.0.0-'${SHORT_SHA}'",
39
+ "main": "index.js",
40
+ "types": "index.d.ts",
41
+ "files": ["."],
42
+ "publishConfig": {
43
+ "registry": "https://npm.pkg.github.com/"
44
+ }
45
+ }' > package.json
46
+
47
- name: Publish compiled proto definitions
48
uses: actions/upload-artifact@v4
49
with:
0 commit comments