Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
start: yarn start
wait-on: 'http://localhost:3000'
- name: Upload screenshots
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
Expand Down Expand Up @@ -96,39 +96,39 @@ jobs:
start: yarn start
wait-on: 'http://localhost:3000'
- name: Upload screenshots
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots

test-seo:
runs-on: ubuntu-latest
needs: [tests]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Restore Build
uses: actions/cache@v2
id: restore-build
with:
path: |
.next
public
key: ci-docs-test-${{ github.sha }}
- name: Cypress tests 🧪
uses: cypress-io/github-action@v5
with:
headless: true
config: video=false
browser: chrome
spec: cypress/e2e/seo.cy.ts
build: node scripts/build-pages-fixture.js
start: yarn start
wait-on: 'http://localhost:3000'
- name: Upload screenshots
uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
runs-on: ubuntu-latest
needs: [tests]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Restore Build
uses: actions/cache@v2
id: restore-build
with:
path: |
.next
public
key: ci-docs-test-${{ github.sha }}
- name: Cypress tests 🧪
uses: cypress-io/github-action@v5
with:
headless: true
config: video=false
browser: chrome
spec: cypress/e2e/seo.cy.ts
build: node scripts/build-pages-fixture.js
start: yarn start
wait-on: 'http://localhost:3000'
- name: Upload screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
2 changes: 1 addition & 1 deletion src/pages/websockets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ socket.onDisconnect((ctx) async {

<CodeGroup>

```typescript
```javascript
import { websocket, kv } from '@nitric/sdk'

// Initialize KV store for connections and a WebSocket
Expand Down
Loading