Skip to content

Commit d4c400a

Browse files
committed
Fixed dxw plugin dependencies and added deploy to NPM registry
1 parent 3a20dd5 commit d4c400a

4 files changed

Lines changed: 1480 additions & 1019 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }}
@@ -52,6 +52,19 @@ jobs:
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

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)