Skip to content

Commit 94a565e

Browse files
tjkadolfo-pddylburger
authored
feat(connect-react): prep preview of @pipedream/connect-react (#14718)
Co-authored-by: adolfo-pd <[email protected]> Co-authored-by: Dylan J. Sather <[email protected]>
1 parent cd85641 commit 94a565e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+34048
-29071
lines changed

.eslintignore

-14
This file was deleted.

.eslintrc

-233
This file was deleted.

.github/workflows/components-pr.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/[email protected]
5252
- uses: pnpm/[email protected]
5353
with:
54-
version: 7.33.6
54+
version: 9.14.2
5555
- name: Get pnpm store directory
5656
id: pnpm-cache
5757
run: |
@@ -140,7 +140,7 @@ jobs:
140140
uses: actions/[email protected]
141141
- uses: pnpm/[email protected]
142142
with:
143-
version: 7.33.6
143+
version: 9.14.2
144144
- name: Get pnpm store directory
145145
id: pnpm-cache
146146
run: |

.github/workflows/pipedream-sdk-test.yaml

+17-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,30 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21+
- uses: pnpm/[email protected]
22+
with:
23+
version: 9.14.2
24+
- name: Get pnpm store directory
25+
id: pnpm-cache
26+
run: |
27+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
28+
- uses: actions/cache@v4
29+
name: Setup pnpm cache
30+
with:
31+
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
32+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
33+
restore-keys: |
34+
${{ runner.os }}-pnpm-store-
35+
2136
- name: Set up Node.js
2237
uses: actions/setup-node@v3
2338
with:
2439
node-version: '18'
2540

2641
- name: Install dependencies
27-
run: npm install
42+
run: pnpm install
2843
working-directory: packages/sdk
2944

3045
- name: Run tests
31-
run: npm test
46+
run: pnpm test
3247
working-directory: packages/sdk

.github/workflows/publish-components.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/[email protected]
1515
- uses: pnpm/[email protected]
1616
with:
17-
version: 7.33.6
17+
version: 9.14.2
1818
- name: Get pnpm store directory
1919
id: pnpm-cache
2020
run: |
@@ -122,7 +122,7 @@ jobs:
122122
uses: actions/[email protected]
123123
- uses: pnpm/[email protected]
124124
with:
125-
version: 7.33.6
125+
version: 9.14.2
126126
- name: Get pnpm store directory
127127
id: pnpm-cache
128128
run: |

.github/workflows/publish-marketplace-content.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/[email protected]
1515
- uses: pnpm/[email protected]
1616
with:
17-
version: 7.33.6
17+
version: 9.14.2
1818
- name: Get pnpm store directory
1919
id: pnpm-cache
2020
run: |

.github/workflows/publish-packages.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/[email protected]
2424
- uses: pnpm/[email protected]
2525
with:
26-
version: 7.33.6
26+
version: 9.14.2
2727
- name: Get pnpm store directory
2828
if: github.ref != 'refs/heads/master' # Cache is used only for dry runs
2929
id: pnpm-cache

.github/workflows/publish-platform-package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/[email protected]
1616
- uses: pnpm/[email protected]
1717
with:
18-
version: 7.33.6
18+
version: 9.14.2
1919
- uses: actions/[email protected]
2020
with:
2121
node-version: 18

.github/workflows/pull-request-checks.yaml

+14-16
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
fetch-depth: 0
5656
- uses: pnpm/[email protected]
5757
with:
58-
version: 7.33.6
58+
version: 9.14.2
5959
- name: Get pnpm store directory
6060
id: pnpm-cache
6161
run: |
@@ -70,31 +70,29 @@ jobs:
7070
- name: Install dependencies
7171
run: pnpm install -r
7272
- name: Setup Node Env
73-
uses: actions/setup-node@v4.0.3
73+
uses: actions/setup-node@v4.1.0
7474
with:
75-
node-version: 18
75+
node-version: 18.18.0
7676
registry-url: https://registry.npmjs.org/
7777
cache: 'pnpm'
78-
- name: Compile TypeScript
79-
run: npm run build
80-
- name: Lint Code Base
81-
uses: github/super-linter@v6
82-
env:
83-
DEFAULT_BRANCH: master
84-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85-
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc
86-
LINTER_RULES_PATH: /
87-
VALIDATE_ALL_CODEBASE: false
88-
VALIDATE_JAVASCRIPT_ES: true
89-
VALIDATE_JSON: true
78+
# - name: Lint Code Base
79+
# uses: super-linter/super-linter/[email protected]
80+
# env:
81+
# DEFAULT_BRANCH: master
82+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
# JAVASCRIPT_ES_CONFIG_FILE: eslint.config.mjs
84+
# LINTER_RULES_PATH: /
85+
# VALIDATE_ALL_CODEBASE: false
86+
# VALIDATE_JAVASCRIPT_ES: true
87+
# VALIDATE_JSON: true
9088
# ESLint only on changed files (not the same as the above super-linter)
9189
- name: Get Changed Files (space-separated)
9290
id: changed_files_space
9391
uses: Ana06/[email protected]
9492
with:
9593
format: 'space-delimited'
9694
- name: Lint changed files
97-
run: npx eslint --quiet ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }}
95+
run: pnpm exec eslint ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }}
9896
- name: Get Changed Files (comma-separated)
9997
id: changed_files
10098
uses: Ana06/[email protected]

0 commit comments

Comments
 (0)