Skip to content

Commit

Permalink
workflow: update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
baboon-king committed Mar 12, 2024
1 parent 7ee4fb2 commit 4da88c8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
node:
- "16"
- "20"
platform:
- ubuntu-latest

Expand All @@ -25,25 +25,23 @@ jobs:
git config --global user.name "BaboonKing"
git config --global user.email "[email protected]"
- name: Checkout Commit
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v3.0.0
with:
version: next-7
version: 8
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install npm@7
run: npm add --global npm@7
- name: pnpm install
run: pnpm install
- name: Audit
run: pnpm audit
- name: Build
run: pnpm build --base=/grays/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
folder: dist

0 comments on commit 4da88c8

Please sign in to comment.