Skip to content

Commit

Permalink
added publint to ci; removed build:publish (#6595)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd authored May 23, 2024
1 parent bf9ee4f commit 5c22898
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Build PlayCanvas
run: npm run build

- name: Run Publint
run: npm run publint

docs:
name: Docs
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
run: npm install

- name: Build PlayCanvas
run: npm run build:publish
run: npm run build

- name: Run Publint
run: npm run publint

- name: Publish to npm
run: npm publish
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
"build:treenet": "npm run build target:umd treenet",
"build:treesun": "npm run build target:umd treesun",
"build:sourcemaps": "npm run build -- -m",
"build:publish": "npm run build && npm run publint",
"watch": "npm run build -- -w",
"watch:release": "npm run build target:release -- -w",
"watch:debug": "npm run build target:debug -- -w",
Expand Down

0 comments on commit 5c22898

Please sign in to comment.