File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,17 @@ name: CI
44
55# Controls when the workflow will run
66on :
7- # Triggers the workflow on push or pull request events but only for the master branch
87 push :
98 branches : [ master ]
10- pull_request :
11- branches : [ master ]
9+ # pull_request:
10+ # branches: [ master ]
1211
1312 # Allows you to run this workflow manually from the Actions tab
1413 workflow_dispatch :
1514
1615# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1716jobs :
18- # This workflow contains a single job called "build"
19- build :
17+ publishgpr :
2018 # The type of runner that the job will run on
2119 runs-on : ubuntu-latest
2220
3735
3836 - name : TS to JS
3937 run : npm run build
38+
39+ - uses : actions/setup-node@v2
40+ with :
41+ registry-url : ' https://npm.pkg.github.com'
42+ - run : npm publish
43+ env :
44+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments