Skip to content

chore(dev-deps): bump typescript from 5.4.5 to 5.6.3 #310

chore(dev-deps): bump typescript from 5.4.5 to 5.6.3

chore(dev-deps): bump typescript from 5.4.5 to 5.6.3 #310

Workflow file for this run

name: Tests
on:
push:
branches-ignore: [main]
workflow_dispatch:
jobs:
linux-unit-tests:
uses: ./.github/workflows/unitTestsLinux.yml
windows-unit-tests:
uses: ./.github/workflows/unitTestsWindows.yml
test-bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
- uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
- name: Build the project
run: yarn build
- name: check if bundling runs into failures
run: node scripts/testEsbuild.js
external-test:
name: run tests in plugin-templates
runs-on: 'ubuntu-latest'
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install CLI
uses: salesforcecli/github-workflows/.github/actions/retry@main
with:
max_attempts: 3
command: npm install -g @salesforce/cli@nightly shx yarn-deduplicate --omit=dev
timeout_minutes: 20
- name: Checkout to external project
uses: actions/checkout@v4
with:
repository: 'salesforcecli/plugin-templates'
- name: Swap dependency
run: |
yarn install --network-timeout 600000
yarn remove @salesforce/templates
yarn add forcedotcom/salesforcedx-templates#${{ github.sha }}
npx yarn-deduplicate
yarn install --network-timeout 600000
- name: install/build @salesforce/templates in node_modules
working-directory: node_modules/@salesforce/templates
run: |
yarn add husky --dev
yarn husky install
yarn install --network-timeout 600000
yarn build
- name: Build the external project (where the tests are)
run: yarn build
- name: Run tests
uses: salesforcecli/github-workflows/.github/actions/retry@main
with:
max_attempts: 3
command: yarn test:nuts
retry_on: error