Skip to content

Commit 4ef72ed

Browse files
committed
Update node version
1 parent e66e36a commit 4ef72ed

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

.github/workflows/azure-static-web-apps-witty-flower-03e36e303.yml renamed to .github/workflows/azure-beta-docs.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,17 @@ on:
44
push:
55
branches:
66
- dev
7-
pull_request:
8-
types: [opened, synchronize, reopened, closed]
9-
branches:
10-
- dev
117

128
jobs:
139
build_and_deploy_job:
14-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
1510
runs-on: ubuntu-latest
1611
name: Build and Deploy Job
1712
steps:
1813
- uses: actions/checkout@v3
1914
with:
2015
submodules: true
2116
lfs: false
17+
2218
- name: Build And Deploy
2319
id: builddeploy
2420
uses: Azure/static-web-apps-deploy@v1
@@ -32,15 +28,3 @@ jobs:
3228
api_location: "" # Api source code path - optional
3329
output_location: "" # Built app content directory - optional
3430
###### End of Repository/Build Configurations ######
35-
36-
close_pull_request_job:
37-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
38-
runs-on: ubuntu-latest
39-
name: Close Pull Request Job
40-
steps:
41-
- name: Close Pull Request
42-
id: closepullrequest
43-
uses: Azure/static-web-apps-deploy@v1
44-
with:
45-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_FLOWER_03E36E303 }}
46-
action: "close"

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"sitemap": "node scripts/generate-sitemap.js",
1111
"schema": "node scripts/generate-schema.js"
1212
},
13+
"engines": {
14+
"node": ">=18.7.0"
15+
},
1316
"dependencies": {
1417
"@antfu/shiki": "^0.6.2",
1518
"@docsearch/js": "^3.3.0",

0 commit comments

Comments
 (0)