test: windows tarballs #1707
Workflow file for this 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
name: ut and tarballs | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
concurrency: | |
group: ut-tarballs-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
yarn-lockfile-check: | |
uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main | |
ut: | |
uses: salesforcecli/github-workflows/.github/workflows/unitTest.yml@main | |
secrets: inherit | |
tarballs: | |
uses: salesforcecli/github-workflows/.github/workflows/tarballs.yml@main | |
secrets: inherit | |
manifest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
- run: yarn install | |
- run: yarn build | |
- run: yarn oclif manifest | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: manifest | |
path: oclif.manifest.json | |
jit-install: | |
needs: [manifest] | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
- run: yarn install | |
- run: yarn build | |
- uses: actions/download-artifact@v2 | |
with: | |
name: manifest | |
- run: yarn sf-release cli:install:jit:test | |
artifacts: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
- run: yarn install | |
- run: npm install -g @salesforce/plugin-release-management | |
- run: yarn test:deprecation-policy |