Skip to content

Commit

Permalink
feat(connect-react): prep preview of @pipedream/connect-react (#14718)
Browse files Browse the repository at this point in the history
Co-authored-by: adolfo-pd <[email protected]>
Co-authored-by: Dylan J. Sather <[email protected]>
  • Loading branch information
3 people authored Nov 23, 2024
1 parent cd85641 commit 94a565e
Show file tree
Hide file tree
Showing 70 changed files with 34,048 additions and 29,071 deletions.
14 changes: 0 additions & 14 deletions .eslintignore

This file was deleted.

233 changes: 0 additions & 233 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/components-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/pipedream-sdk-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,30 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: pnpm/[email protected]
with:
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm install
run: pnpm install
working-directory: packages/sdk

- name: Run tests
run: npm test
run: pnpm test
working-directory: packages/sdk
4 changes: 2 additions & 2 deletions .github/workflows/publish-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-marketplace-content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
if: github.ref != 'refs/heads/master' # Cache is used only for dry runs
id: pnpm-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-platform-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- uses: actions/[email protected]
with:
node-version: 18
Expand Down
30 changes: 14 additions & 16 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
fetch-depth: 0
- uses: pnpm/[email protected]
with:
version: 7.33.6
version: 9.14.2
- name: Get pnpm store directory
id: pnpm-cache
run: |
Expand All @@ -70,31 +70,29 @@ jobs:
- name: Install dependencies
run: pnpm install -r
- name: Setup Node Env
uses: actions/setup-node@v4.0.3
uses: actions/setup-node@v4.1.0
with:
node-version: 18
node-version: 18.18.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Compile TypeScript
run: npm run build
- name: Lint Code Base
uses: github/super-linter@v6
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc
LINTER_RULES_PATH: /
VALIDATE_ALL_CODEBASE: false
VALIDATE_JAVASCRIPT_ES: true
VALIDATE_JSON: true
# - name: Lint Code Base
# uses: super-linter/super-linter/[email protected]
# env:
# DEFAULT_BRANCH: master
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# JAVASCRIPT_ES_CONFIG_FILE: eslint.config.mjs
# LINTER_RULES_PATH: /
# VALIDATE_ALL_CODEBASE: false
# VALIDATE_JAVASCRIPT_ES: true
# VALIDATE_JSON: true
# ESLint only on changed files (not the same as the above super-linter)
- name: Get Changed Files (space-separated)
id: changed_files_space
uses: Ana06/[email protected]
with:
format: 'space-delimited'
- name: Lint changed files
run: npx eslint --quiet ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }}
run: pnpm exec eslint ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }}
- name: Get Changed Files (comma-separated)
id: changed_files
uses: Ana06/[email protected]
Expand Down
Loading

0 comments on commit 94a565e

Please sign in to comment.