Skip to content

Commit

Permalink
chore(actions): bump to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer committed Jun 13, 2024
1 parent 6b3597e commit faf144e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,25 @@ jobs:
|---------------------------------|------------------------|
| Status: | 🔨 Building... |
---
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: 18

node-version: 20
- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm run build

- name: Copy Cloudflare configuration files to build directory
run: |
cp _headers build/
cp _redirects build/
- name: Publish to Cloudflare
uses: cloudflare/pages-action@v1
with:
Expand All @@ -57,7 +50,6 @@ jobs:
projectName: "papermc-docs"
directory: "build"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

- name: Add comment
uses: mshick/add-pr-comment@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
node-version: 20
- name: Install dependencies
run: pnpm install
- name: Check format
Expand Down

0 comments on commit faf144e

Please sign in to comment.