-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
cd85641
commit 94a565e
Showing
70 changed files
with
34,048 additions
and
29,071 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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] | ||
|
Oops, something went wrong.