Skip to content

Commit 5f85387

Browse files
chore: update GitHub Actions dependency version (#6165)
- also fix a type error on agentflow example app
1 parent 57ac7be commit 5f85387

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/publish-agentflow.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
outputs:
3535
version: ${{ steps.resolve-version.outputs.version }}
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3838

39-
- uses: pnpm/action-setup@v2
39+
- uses: pnpm/action-setup@v4
4040
with:
4141
version: 10.26.0
4242

43-
- uses: actions/setup-node@v4
43+
- uses: actions/setup-node@v6
4444
with:
4545
node-version: '18.15.0'
4646
registry-url: 'https://registry.npmjs.org'
@@ -99,13 +99,13 @@ jobs:
9999
contents: write
100100
pull-requests: write
101101
steps:
102-
- uses: actions/checkout@v4
102+
- uses: actions/checkout@v6
103103

104-
- uses: pnpm/action-setup@v2
104+
- uses: pnpm/action-setup@v4
105105
with:
106106
version: 10.26.0
107107

108-
- uses: actions/setup-node@v4
108+
- uses: actions/setup-node@v6
109109
with:
110110
node-version: '18.15.0'
111111
registry-url: 'https://registry.npmjs.org'

packages/agentflow/examples/src/demos/BasicExample.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { useCallback, useRef, useState } from 'react'
99

1010
import type { AgentFlowInstance, FlowData, ValidationResult } from '@flowiseai/agentflow'
1111
import { Agentflow } from '@flowiseai/agentflow'
12-
import { InternalAxiosRequestConfig } from 'axios'
1312

1413
import { apiBaseUrl, token } from '../config'
1514
import { FlowStatePanel } from '../FlowStatePanel'
@@ -138,7 +137,7 @@ export function BasicExample() {
138137
onFlowChange={handleFlowChange}
139138
onSave={handleSave}
140139
showDefaultHeader={true}
141-
requestInterceptor={(config: InternalAxiosRequestConfig) => {
140+
requestInterceptor={(config) => {
142141
// pass cookies if no token is provided
143142
if (!token) {
144143
config.withCredentials = true

0 commit comments

Comments
 (0)