File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 1111 - macos-latest
1212 - windows-latest
1313 node_version :
14- - 15
14+ - 16
1515 name : Node ${{ matrix.node_version }} on ${{ matrix.os }}
1616 steps :
1717 - name : Checkout
2626 node-version : ${{ matrix.node_version }}
2727 - name : NPM install with caching
2828 uses : bahmutov/npm-install@v1
29- - name : Yarn install (for lage)
30- run : yarn install
3129 - name : Build
3230 run : npm run build
31+ - name : Lint
32+ run : npm run lint
3333 - name : Run Tests
3434 run : npm test
35+ - name : Push CI Packages
36+ if : github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
37+ run : |
38+ echo @exceptionless:registry=https://npm.pkg.github.com >> .npmrc
39+ npm publish --workspaces --access public
40+ env :
41+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
42+ - name : Publish Release Packages
43+ if : startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
44+ run : npm publish --workspaces --access public
45+ env :
46+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments