Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
LeXXik committed May 1, 2024
1 parent 7daa8e1 commit 5c0ed70
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -15,15 +15,15 @@ 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

- 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}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 5c0ed70

Please sign in to comment.