Skip to content

chore(dev-deps): bump @types/mocha from 10.0.9 to 10.0.10 #466

chore(dev-deps): bump @types/mocha from 10.0.9 to 10.0.10

chore(dev-deps): bump @types/mocha from 10.0.9 to 10.0.10 #466

name: Unit tests
on:
push:
branches-ignore: [main]
jobs:
unit-tests:
uses: salesforcecli/github-workflows/.github/workflows/unitTest.yml@main
test-bundle:
runs-on: ubuntu-latest
name: test bundling
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
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'
preBuildCommands: 'shx rm -rf node_modules/@salesforce/core; shx rm -rf node_modules/@jsforce/jsforce-node'
preExternalBuildCommands: 'npm why @salesforce/core --json'
useCache: false
secrets: inherit