Skip to content

Commit 05744e3

Browse files
committed
updated productions issues
1 parent 8faf177 commit 05744e3

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
+12-13
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
1-
# Simple workflow for deploying static content to GitHub Pages
2-
name: Deploy static content to Pages
1+
name: Deploy static content to GitHub Pages
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: [main]
8-
9-
# Allows you to run this workflow manually from the Actions tab
106
workflow_dispatch:
117

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
138
permissions:
149
contents: read
1510
pages: write
1611
id-token: write
1712

18-
# Allow one concurrent deployment
1913
concurrency:
2014
group: "pages"
2115
cancel-in-progress: true
2216

2317
env:
24-
# Hosted GitHub runners have 7 GB of memory available, let's use 6 GB
2518
NODE_OPTIONS: --max-old-space-size=6144
2619

2720
jobs:
@@ -32,22 +25,28 @@ jobs:
3225
runs-on: ubuntu-latest
3326
steps:
3427
- name: Checkout
35-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4 # Upgraded from v3
29+
3630
- name: Set up Node.js
37-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4 # Upgraded from v3
3832
with:
39-
node-version: 18.x
33+
node-version: 20.x # Updated to LTS version
4034
cache: yarn
35+
4136
- name: Install dependencies
4237
run: yarn install --frozen-lockfile --non-interactive
38+
4339
- name: Build
4440
run: yarn build
41+
4542
- name: Setup Pages
46-
uses: actions/configure-pages@v3
43+
uses: actions/configure-pages@v4 # Upgraded from v3
44+
4745
- name: Upload artifact
4846
uses: actions/upload-pages-artifact@v2
4947
with:
5048
path: build
49+
5150
- name: Deploy to GitHub Pages
5251
id: deployment
53-
uses: actions/deploy-pages@v2
52+
uses: actions/deploy-pages@v3 # Upgraded to latest version

docs/api/chat/askQuestion.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ data:
2424
### Example:
2525

2626
```js
27+
2728
const userResponse = await codebolt.chat.askQuestion(question: string)
2829

2930
```

0 commit comments

Comments
 (0)