diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d478e28..a5938fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,9 @@ -name: Publish to GPR +name: Publish to npm on: workflow_dispatch jobs: - publish-gpr: + publish-npm: runs-on: ubuntu-latest permissions: write-all steps: @@ -15,7 +15,7 @@ jobs: with: node-version: 18 cache: 'npm' - registry-url: https://npm.pkg.github.com/ + registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm install @@ -23,7 +23,7 @@ jobs: - name: Build Physics run: npm run build - - name: Publish to GitHub Packages Registry - run: npm publish + - name: Publish to npm + uses: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 7471780..9109530 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gamebop/physics", "description": "Physics components for PlayCanvas engine", - "version": "0.2.4", + "version": "0.1.0-dev", "main": "index.mjs", "author": "Gamebop", "license": "MIT",