Skip to content

Commit

Permalink
build: fix test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Enes5519 authored and Enes Yıldırım committed Mar 26, 2023
1 parent a178495 commit 25d5087
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version: 18
- run: npm ci
- run: npm test
- run: npm run test:unit

publish-gpr:
needs: build
Expand All @@ -26,8 +26,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npx semantic-release@19
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-use-debounce",
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
Expand Down

0 comments on commit 25d5087

Please sign in to comment.