Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/husky-9.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MasatoMakino authored Sep 4, 2024
2 parents 514f0fc + 42cf5be commit b81cdac
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 90 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
interval: "daily"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
interval: "daily"
3 changes: 2 additions & 1 deletion .github/workflows/buildTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run buildTS
- run: npx tsc --noEmit
- run: npm test
12 changes: 10 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,30 @@ on:
- "README.md"
- "tsconfig**.json"
- ".github/workflows/*.yml"
pull_request:
branches: [main]
paths:
- "src/**"
- "__test__/**"
- "package.json"
- "tsconfig*.json"
- ".github/workflows/*.yml"

jobs:
publish:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run build
- name: Deploy Github pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
174 changes: 93 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"browser-sync": "^3.0.2",
"husky": "^9.1.5",
"lil-gui": "^0.19.2",
"lint-staged": "^15.2.7",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"three": "^0.167.1",
"typedoc": "^0.26.5",
Expand Down
Loading

0 comments on commit b81cdac

Please sign in to comment.