diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index f5116e6..a336ab3 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -13,7 +13,7 @@ jobs: with: node-version: 18 - run: npm ci - - run: npm test + - run: npm run test:unit publish-gpr: needs: build @@ -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}} diff --git a/package.json b/package.json index da687c5..259fa41 100644 --- a/package.json +++ b/package.json @@ -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",