Skip to content

Commit

Permalink
try publish again
Browse files Browse the repository at this point in the history
  • Loading branch information
janpaepke committed Apr 12, 2024
1 parent 25a055e commit 3641f84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org/'
cache: 'npm'
- name: Build Cache
uses: actions/cache@v4
with:
path: dist
key: build-${{ github.sha }}
- name: Npm Publish
run: npm ci && npm publish
- name: NPM Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Github Release
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@
"toc-generate": "markdown-toc -i README.md",
"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)",
"scripts:update-deps": "npx npm-check --skip-unused -u",
"scripts:verify": "npm run lint && npm run prettier && npm run toc-check && npm run build && npm run test && agadoo",
"scripts:check-git": "git diff-index --quiet HEAD -- || (echo 'Error: Git repository is not clean. Please commit or stash changes.' && exit 1)",
"release:patch": "npm version patch",
"release:minor": "npm version minor",
"release:major": "npm version major",
"prepublishOnly": "npm run scripts:verify",
"preversion": "npm run scripts:check-git && git pull && npm run scripts:verify",
"preversion": "npm run scripts:check-git && git pull",
"postversion": "git push && git push --tags"
},
"repository": {
Expand Down

0 comments on commit 3641f84

Please sign in to comment.