chore(deps): update dependency @salesforce/core to v8.6.4 #231
This file contains hidden or 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
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| developer-edition: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| - name: Install dependencies | |
| run: | | |
| yarn install | |
| yarn global add @salesforce/cli | |
| - name: Authenticate Developer Edition and run test | |
| env: | |
| SFDX_AUTH_URL_DEVED: ${{ secrets.SFDX_AUTH_URL_DEVED }} | |
| run: | | |
| sfdx auth:sfdxurl:store -s -a mdapi-issues-deved -f <(echo "${SFDX_AUTH_URL_DEVED}") | |
| yarn test | |
| scratch-org: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| - name: Install dependencies | |
| run: | | |
| yarn install | |
| yarn global add @salesforce/cli | |
| - name: Authenticate DevHub, create scratch org and run test | |
| env: | |
| SFDX_AUTH_URL_DEVHUB: ${{ secrets.SFDX_AUTH_URL_DEVHUB }} | |
| run: | | |
| sfdx auth:sfdxurl:store -d -a devhub -f <(echo "${SFDX_AUTH_URL_DEVHUB}") | |
| yarn develop | |
| yarn test | |
| - name: Delete scratch org | |
| if: always() | |
| run: | | |
| sfdx force:org:delete -p |