File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ jobs:
2828 - name : Setup Node
2929 uses : actions/setup-node@v2
3030 with :
31- node-version : ' 16 .x'
31+ node-version : ' 18 .x'
3232 cache : ' npm'
3333 registry-url : ' https://npm.pkg.github.com'
3434 scope : ' @dxworks'
3535
3636 - name : Prepare Node App
3737 run : |
38- npm install
38+ npm ci
3939 npm run build
4040 env :
4141 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5252 env :
5353 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5454
55+ - name : Setup Node with NPM Package Registry
56+ uses : actions/setup-node@v3
57+ with :
58+ node-version : ' 18.x'
59+ cache : ' npm'
60+ registry-url : ' https://registry.npmjs.org'
61+ scope : ' @dxworks'
62+
63+ - name : Publish on NPM
64+ run : npm publish --access public
65+ env :
66+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
67+
5568 - name : Prepare Release Notes
5669 run : touch ${{ github.workspace }}/releaseNotes/v${{ steps.semver_parser.outputs.semver }}.md
5770
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments