Skip to content

Commit

Permalink
chore(ci): enabled npm publishing; (#5460)
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS authored Jan 10, 2023
1 parent d750901 commit d83316d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1
- uses: 8BitJonny/gh-get-current-pr@2.2.0
- name: Check versions
run: node ./bin/check-build-version.js
############# TAG RELEASE ##############
Expand All @@ -48,6 +47,6 @@ jobs:
${{ steps.extract-release-notes.outputs.release_notes }}
############# NPM RELEASE ##############
- name: Publish the release to NPM
run: echo "NPM publish command here" # temporary skipped
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
"test:build:version": "node ./bin/check-build-version.js",
"start": "node ./sandbox/server.js",
"preversion": "gulp version && npm test",
"preversion": "gulp version",
"version": "npm run build && git add dist && git add package.json",
"prepublishOnly": "npm run test:build:version",
"postpublish": "git push && git push --tags",
Expand Down

0 comments on commit d83316d

Please # to comment.