Skip to content

Commit

Permalink
ci: setup ext NUTs for apex-node (#367)
Browse files Browse the repository at this point in the history
* ci: setup ext NUTs for apex-node

* ci: add name to ext NUTs

* ci: remove pre/psot commands

* ci: ignore scripts true

* ci: add compile to pjson

* chore: bump core

* chore: try with branch on plugin-apex with bumped deps

* chore: and bump kit

* chore: backout branch
  • Loading branch information
WillieRuemmele authored Apr 26, 2024
1 parent abd23f9 commit b3ede18
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/testCommitExceptMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,21 @@ on:

jobs:
unit-tests:
uses: salesforcecli/github-workflows/.github/workflows/unitTest.yml@main
uses: salesforcecli/github-workflows/.github/workflows/unitTest.yml@main
xNuts:
needs: unit-tests
name: external NUTs
uses: salesforcecli/github-workflows/.github/workflows/externalNut.yml@main
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest']
with:
packageName: '@salesforce/apex-node'
externalProjectGitUrl: 'https://github.com/salesforcecli/plugin-apex'
ignoreScripts: true
os: ${{ matrix.os }}
preSwapCommands: 'yarn upgrade @salesforce/core; npx yarn-deduplicate; yarn install'
preExternalBuildCommands: 'npm why @salesforce/core --json'
useCache: false
secrets: inherit
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"main": "lib/src/index.js",
"dependencies": {
"@jsforce/jsforce-node": "^3.1.0",
"@salesforce/core": "^7.2.0",
"@salesforce/kit": "^3.1.0",
"@salesforce/core": "^7.3.1",
"@salesforce/kit": "^3.1.1",
"@types/istanbul-reports": "^3.0.4",
"faye": "1.4.0",
"glob": "^10.3.10",
Expand Down Expand Up @@ -62,6 +62,7 @@
],
"scripts": {
"build": "shx rm -rf lib && tsc -b",
"compile": "shx rm -rf lib && tsc -b",
"commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
"commit": "git-cz",
"format": "prettier --config ./.prettierrc --write './{src,test,scripts}/**/*.{ts,js,json}'",
Expand Down Expand Up @@ -89,4 +90,4 @@
"publishConfig": {
"access": "public"
}
}
}
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -546,13 +546,13 @@
picocolors "^1.0.0"
tslib "^2.6.0"

"@salesforce/core@^7.2.0":
version "7.3.0"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-7.3.0.tgz#2ad3dfccb1ef0eb2e65b49b655e39748002bbc13"
integrity sha512-c/gZLvKFHvgAv/Gyd4LjGGQykvGLn67QtCmdT7Hnm57bTDZoyr7XJXcaI+ILN0NO47guG1tEWP5eBvAi+u2DNA==
"@salesforce/core@^7.3.1":
version "7.3.1"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-7.3.1.tgz#cda324f7a5ff1be6d7381943b15b23dbe3cd5dec"
integrity sha512-jdc0GOUlV4xvyF9dPbBKNPDvQc06uj5YHFEHvdhCAFtCvqgtubpDzlyDppac2kdKujh4c7UH2KreboNvJ3LsoQ==
dependencies:
"@jsforce/jsforce-node" "^3.1.0"
"@salesforce/kit" "^3.1.0"
"@salesforce/kit" "^3.1.1"
"@salesforce/schemas" "^1.7.0"
"@salesforce/ts-types" "^2.0.9"
ajv "^8.12.0"
Expand All @@ -569,10 +569,10 @@
semver "^7.6.0"
ts-retry-promise "^0.7.1"

"@salesforce/kit@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-3.1.0.tgz#aa42533084c676e865f0f9c1907a16fb6f74dee7"
integrity sha512-X2d9O/U2wdQBXIrtVqQdMwo872Cv+qkYFzF0W+AQKG/LEe9cngnOzUVDYNkGD9tq3jcl+oenHXYuVDpkMhxTwA==
"@salesforce/kit@^3.1.1":
version "3.1.1"
resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-3.1.1.tgz#d2147a50887214763cdf1c456d306b6da554d928"
integrity sha512-Cjkh+USp5PtdZmD30r1Y7d+USpIhQz9B48w76esBtYpgqzhyj806LHkVgEfmorLNq2Qe8EO5rtUYd+XZ3rnV9w==
dependencies:
"@salesforce/ts-types" "^2.0.9"
tslib "^2.6.2"
Expand Down

0 comments on commit b3ede18

Please sign in to comment.