File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -96,14 +96,15 @@ jobs:
9696 uses : actions/setup-node@v4
9797 with :
9898 node-version : 20
99+ registry-url : ' https://registry.npmjs.org/'
99100 cache : ' npm'
100101 - name : Build Cache
101102 uses : actions/cache@v4
102103 with :
103104 path : dist
104105 key : build-${{ github.sha }}
105- - name : Npm Publish
106- run : npm ci && npm publish
106+ - name : NPM Publish
107+ run : npm publish
107108 env :
108109 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
109110 - name : Github Release
Original file line number Diff line number Diff line change 3737 "toc-generate" : " markdown-toc -i README.md" ,
3838 "toc-check" : " npm run toc-generate && git diff --exit-code README.md || (echo 'Error: README.md has changed after generating TOC. Please commit the changes.' && exit 1)" ,
3939 "scripts:update-deps" : " npx npm-check --skip-unused -u" ,
40- "scripts:verify" : " npm run lint && npm run prettier && npm run toc-check && npm run build && npm run test && agadoo" ,
4140 "scripts:check-git" : " git diff-index --quiet HEAD -- || (echo 'Error: Git repository is not clean. Please commit or stash changes.' && exit 1)" ,
4241 "release:patch" : " npm version patch" ,
4342 "release:minor" : " npm version minor" ,
4443 "release:major" : " npm version major" ,
45- "prepublishOnly" : " npm run scripts:verify" ,
46- "preversion" : " npm run scripts:check-git && git pull && npm run scripts:verify" ,
44+ "preversion" : " npm run scripts:check-git && git pull" ,
4745 "postversion" : " git push && git push --tags"
4846 },
4947 "repository" : {
You can’t perform that action at this time.
0 commit comments