File tree 2 files changed +9
-13
lines changed
2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 37
37
- run : curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip"
38
38
- run : unzip protoc-3.13.0-linux-x86_64.zip -d /tmp/grpc
39
39
- run : echo "/tmp/grpc/bin" >> $GITHUB_PATH
40
- - run : ls /tmp/grpc/bin
41
- - run : echo $PATH
42
40
# install project deps
43
41
- run : npm install
44
42
# start test container
Original file line number Diff line number Diff line change @@ -31,29 +31,27 @@ jobs:
31
31
node-version : 14.x
32
32
# Specifies the registry, this field is required!
33
33
registry-url : https://registry.npmjs.org/
34
- # use "npm ci" to avoid package lock changes
35
- - name : Install Protoc
36
- uses : arduino/setup-protoc@v1
34
+ # install protoc
35
+ - run : curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip"
36
+ - run : unzip protoc-3.13.0-linux-x86_64.zip -d /tmp/grpc
37
+ - run : echo "/tmp/grpc/bin" >> $GITHUB_PATH
37
38
- run : npm install
38
39
# start test container
39
40
- run : npm run coh-up
40
41
# compile grpc stubs
41
42
- run : npm run grpc
42
43
# give the container time to bootstrap
43
- - name : Sleep for 30 seconds
44
- uses : jakejarvis/wait-action@master
45
- with :
46
- time : ' 30s'
44
+ - run : npm run wait
47
45
# run the tests
48
46
- run : npm run test
49
47
# top the test container
50
48
- run : npm run coh-down
51
49
# clean up
52
50
- run : npm run coh-clean
53
- - run : npm install typedoc
51
+ - run : npm install --no-save typedoc
54
52
# generate dist which runs other tasks
55
53
- run : npm run dist
56
54
# publish to NPM
57
- - uses : JS-DevTools/ npm- publish@v1
58
- with :
59
- token : ${{ secrets.NPM_PUBLISH_KEY }}
55
+ - run : npm publish
56
+ env :
57
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_KEY }}
You can’t perform that action at this time.
0 commit comments