mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
chore(ci): enabled npm publishing; (#5460)
This commit is contained in:
@@ -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 ##############
|
||||
@@ -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}}
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user