Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,32 @@ on:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24]
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v2
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
node-version: "20"

version: 11
cache: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install Dependencies
run: npm install

run: pnpm install
- name: Run tests
run: npm test

run: pnpm test
- name: Build
run: npm run build

run: pnpm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down
Loading