-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into felicio/changeset-check
- Loading branch information
Showing
122 changed files
with
21,658 additions
and
20,752 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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
pnpm lint-staged |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
20.18.0 |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
!.npmrc | ||
#!pnpm-lock.yaml |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
; https://pnpm.io/cli/run#enable-pre-post-scripts | ||
enable-pre-post-scripts=true | ||
; https://pnpm.io/npmrc#node-linker | ||
; node-linker=hoisted | ||
; https://pnpm.io/npmrc#shamefully-hoist | ||
;shamefully-hoist=true | ||
;auto-install-peers=true | ||
; https://pnpm.io/npmrc#node-version | ||
node-version=20.18.0 | ||
; https://pnpm.io/npmrc#engine-strict | ||
engine-strict=true |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm-lock.yaml |
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# connector | ||
|
||
## 0.0.2 | ||
|
||
### Patch Changes | ||
|
||
- 3c71b8c: update ESLint | ||
- Updated dependencies [3c71b8c] | ||
- @status-im/colors@1.0.2 |
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/usr/bin/env groovy | ||
library '[email protected]' | ||
|
||
def changesDetected = false | ||
|
||
pipeline { | ||
agent { label 'linux' } | ||
|
||
|
@@ -27,12 +29,26 @@ pipeline { | |
} | ||
|
||
stages { | ||
stage('Check Changed Files') { | ||
when { | ||
changeset pattern: "apps/connector/**", comparator: "GLOB" | ||
} | ||
steps { | ||
script { | ||
changesDetected = true | ||
} | ||
} | ||
} | ||
|
||
stage('Install') { | ||
when { | ||
expression { changesDetected } | ||
} | ||
steps { | ||
dir("${env.WORKSPACE}/apps/connector") { | ||
script { | ||
nix.shell( | ||
'yarn install --frozen-lockfile', | ||
'pnpm install --frozen-lockfile', | ||
pure: false, | ||
entryPoint: "${env.WORKSPACE}/apps/connector/shell.nix" | ||
) | ||
|
@@ -42,11 +58,14 @@ pipeline { | |
} | ||
|
||
stage('Build') { | ||
when { | ||
expression { changesDetected } | ||
} | ||
steps { | ||
dir("${env.WORKSPACE}/apps/connector") { | ||
dir("${env.WORKSPACE}") { | ||
script { | ||
nix.shell( | ||
'yarn build:chrome', | ||
'pnpm turbo run build --filter=connector', | ||
pure: false, | ||
entryPoint: "${env.WORKSPACE}/apps/connector/shell.nix" | ||
) | ||
|
@@ -56,6 +75,9 @@ pipeline { | |
} | ||
|
||
stage('Zip') { | ||
when { | ||
expression { changesDetected } | ||
} | ||
steps { | ||
dir("${env.WORKSPACE}/apps/connector") { | ||
zip( | ||
|
@@ -68,6 +90,9 @@ pipeline { | |
} | ||
|
||
stage('Archive') { | ||
when { | ||
expression { changesDetected } | ||
} | ||
steps { | ||
dir("${env.WORKSPACE}/apps/connector") { | ||
archiveArtifacts( | ||
|
@@ -79,6 +104,9 @@ pipeline { | |
} | ||
|
||
stage('Upload') { | ||
when { | ||
expression { changesDetected } | ||
} | ||
steps { | ||
dir("${env.WORKSPACE}/apps/connector") { | ||
script { | ||
|
@@ -90,8 +118,20 @@ pipeline { | |
} | ||
|
||
post { | ||
success { script { github.notifyPR(true) } } | ||
failure { script { github.notifyPR(false) } } | ||
success { | ||
script { | ||
if(changesDetected) { | ||
github.notifyPR(true) | ||
} | ||
} | ||
} | ||
failure { | ||
script { | ||
if(changesDetected) { | ||
github.notifyPR(false) | ||
} | ||
} | ||
} | ||
cleanup { cleanWs() } | ||
} | ||
} |
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
Oops, something went wrong.