Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit e096140

Browse files
docs: make lang options consistent for all examples (#619)
Co-authored-by: David Moore <[email protected]>
1 parent 39e71aa commit e096140

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

.github/workflows/test.yaml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
start: yarn start
6666
wait-on: 'http://localhost:3000'
6767
- name: Upload screenshots
68-
uses: actions/upload-artifact@v2
68+
uses: actions/upload-artifact@v4
6969
if: failure()
7070
with:
7171
name: cypress-screenshots
@@ -96,39 +96,39 @@ jobs:
9696
start: yarn start
9797
wait-on: 'http://localhost:3000'
9898
- name: Upload screenshots
99-
uses: actions/upload-artifact@v2
99+
uses: actions/upload-artifact@v4
100100
if: failure()
101101
with:
102102
name: cypress-screenshots
103103
path: cypress/screenshots
104104

105105
test-seo:
106-
runs-on: ubuntu-latest
107-
needs: [tests]
108-
steps:
109-
- name: Checkout
110-
uses: actions/checkout@v2
111-
- name: Restore Build
112-
uses: actions/cache@v2
113-
id: restore-build
114-
with:
115-
path: |
116-
.next
117-
public
118-
key: ci-docs-test-${{ github.sha }}
119-
- name: Cypress tests 🧪
120-
uses: cypress-io/github-action@v5
121-
with:
122-
headless: true
123-
config: video=false
124-
browser: chrome
125-
spec: cypress/e2e/seo.cy.ts
126-
build: node scripts/build-pages-fixture.js
127-
start: yarn start
128-
wait-on: 'http://localhost:3000'
129-
- name: Upload screenshots
130-
uses: actions/upload-artifact@v2
131-
if: failure()
132-
with:
133-
name: cypress-screenshots
134-
path: cypress/screenshots
106+
runs-on: ubuntu-latest
107+
needs: [tests]
108+
steps:
109+
- name: Checkout
110+
uses: actions/checkout@v2
111+
- name: Restore Build
112+
uses: actions/cache@v2
113+
id: restore-build
114+
with:
115+
path: |
116+
.next
117+
public
118+
key: ci-docs-test-${{ github.sha }}
119+
- name: Cypress tests 🧪
120+
uses: cypress-io/github-action@v5
121+
with:
122+
headless: true
123+
config: video=false
124+
browser: chrome
125+
spec: cypress/e2e/seo.cy.ts
126+
build: node scripts/build-pages-fixture.js
127+
start: yarn start
128+
wait-on: 'http://localhost:3000'
129+
- name: Upload screenshots
130+
uses: actions/upload-artifact@v4
131+
if: failure()
132+
with:
133+
name: cypress-screenshots
134+
path: cypress/screenshots

src/pages/websockets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ socket.onDisconnect((ctx) async {
230230

231231
<CodeGroup>
232232

233-
```typescript
233+
```javascript
234234
import { websocket, kv } from '@nitric/sdk'
235235

236236
// Initialize KV store for connections and a WebSocket

0 commit comments

Comments
 (0)