Skip to content

Commit 0c5fe69

Browse files
authored
Merge pull request #16 from reorx/copilot/fix-15
Renovate outdated cf-pages.yml GitHub Action workflow
2 parents 4bf4d98 + 99384f5 commit 0c5fe69

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/cf-pages.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,24 @@ on:
1010

1111
jobs:
1212
deploy:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- name: Checkout code
18+
uses: actions/checkout@v4
1819
with:
1920
fetch-depth: 1
20-
- uses: actions/setup-node@v3
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v4
2123
with:
22-
node-version: 16
24+
node-version: '18'
2325
cache: 'npm'
2426

25-
- run: npm install
26-
- run: npm run build-site
27+
- name: Install dependencies
28+
run: npm install
29+
- name: Build site
30+
run: npm run build-site
2731

2832
- name: Publish
2933
uses: cloudflare/pages-action@v1

0 commit comments

Comments
 (0)