2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

chore(ci): enabled npm publishing; (#5460)

This commit is contained in:
Dmitriy Mozgovoy
2023-01-10 21:14:49 +02:00
committed by GitHub
parent d750901ded
commit d83316db4a
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -28,7 +28,6 @@ jobs:
- name: Extract release notes - name: Extract release notes
id: extract-release-notes id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1 uses: ffurrer2/extract-release-notes@v1
- uses: 8BitJonny/gh-get-current-pr@2.2.0
- name: Check versions - name: Check versions
run: node ./bin/check-build-version.js run: node ./bin/check-build-version.js
############# TAG RELEASE ############## ############# TAG RELEASE ##############
@@ -48,6 +47,6 @@ jobs:
${{ steps.extract-release-notes.outputs.release_notes }} ${{ steps.extract-release-notes.outputs.release_notes }}
############# NPM RELEASE ############## ############# NPM RELEASE ##############
- name: Publish the release to NPM - name: Publish the release to NPM
run: echo "NPM publish command here" # temporary skipped run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}} NODE_AUTH_TOKEN: ${{secrets.npm_token}}
+1 -1
View File
@@ -32,7 +32,7 @@
"test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs", "test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
"test:build:version": "node ./bin/check-build-version.js", "test:build:version": "node ./bin/check-build-version.js",
"start": "node ./sandbox/server.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", "version": "npm run build && git add dist && git add package.json",
"prepublishOnly": "npm run test:build:version", "prepublishOnly": "npm run test:build:version",
"postpublish": "git push && git push --tags", "postpublish": "git push && git push --tags",