Skip to content

Commit dab5a38

Browse files
committed
bump
1 parent 13b2a13 commit dab5a38

4 files changed

Lines changed: 65 additions & 24 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Build
22

33
on:
4-
push:
5-
branches: [ v2 ]
4+
# push:
5+
# branches: [main, master]
66
# pull_request:
7-
# branches: [ v2 ]
7+
# branches: [main, master]
88

99
workflow_dispatch:
1010

.github/workflows/publish.yml

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
name: NPM Publish V2
22

33
on:
4-
workflow_run:
5-
workflows: [ Build ]
6-
branches: [ v2 ]
7-
types: [ completed ]
4+
push:
5+
branches: [v2]
6+
# pull_request:
7+
# branches: [ v2 ]
8+
# workflow_run:
9+
# workflows: [Build]
10+
# branches: [v2]
11+
# types: [completed]
812

9-
concurrency: ${{ github.workflow }}-${{ github.ref }}
13+
workflow_dispatch:
1014

1115
permissions:
1216
id-token: write
1317

1418
jobs:
1519
publish:
16-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
17-
1820
permissions:
1921
contents: write
2022
pull-requests: write
@@ -29,19 +31,37 @@ jobs:
2931
- name: Setup Node.js 24
3032
uses: actions/setup-node@v4
3133
with:
32-
node-version: '24.x'
34+
node-version: "24.x"
35+
36+
- name: npm-install
37+
run: npm install
38+
39+
- name: npm-install
40+
run: npm install
41+
42+
- name: npm-test
43+
run: npm run test
44+
45+
- name: npm-lint
46+
run: npm run lint
47+
48+
- name: npm-build
49+
run: npm run build
50+
51+
- name: npm-test-types
52+
run: npm run test:types
3353

34-
- name: Install Dependencies
35-
run: npm ci
54+
- name: npm-typedoc
55+
run: npm run typedoc
3656

3757
- name: Create Release Pull Request or Publish to npm
3858
id: changesets
3959
uses: changesets/action@v1
4060
with:
4161
# build to guarantee published dist files were not altered
42-
publish: npm run publish
62+
publish: npm run bump
4363
# build to commit dist folder in version commit
44-
version: npm run version
64+
version: npm run release
4565
env:
4666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
NPM_CONFIG_PROVENANCE: true
67+
NPM_CONFIG_PROVENANCE: true

package-lock.json

Lines changed: 25 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "planck-v2",
3-
"version": "2.0.1",
3+
"version": "2.0.4",
44
"description": "2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development",
55
"homepage": "https://github.com/piqnt/planck.js",
66
"keywords": [
@@ -53,7 +53,9 @@
5353
"node": ">=24.0"
5454
},
5555
"peerDependencies": {
56-
"stage-js": "^1.0.0-alpha.12"
56+
"hammerjs": "^2.0.8",
57+
"polymatic": "^0.0.12",
58+
"stage-js": "^1.0.1"
5759
},
5860
"devDependencies": {
5961
"@changesets/cli": "^2.29.8",

0 commit comments

Comments
 (0)