Skip to content

Commit e19f87d

Browse files
mshanemciowillhoit
andauthored
refactor: remove oclif flags (#449)
* refactor: remove oclif flags * chore: nuts config (#450) * test: correct NUTs Co-authored-by: Willhoit <[email protected]>
1 parent b15b00c commit e19f87d

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ jobs:
2020
secrets: inherit
2121
strategy:
2222
matrix:
23-
os: [ubuntu-latest, windows-latest]
23+
os: [ubuntu-20-8core, windows-2022-16core]
24+
command:
25+
- 'yarn test:nuts:deploy:metadata:manifest'
26+
- 'yarn test:nuts:deploy:metadata:metadata-dir'
27+
- 'yarn test:nuts:deploy:metadata:metadata'
28+
- 'yarn test:nuts:deploy:metadata:source-dir'
29+
- 'yarn test:nuts:deploy:metadata:test-level'
30+
- 'yarn test:nuts:static'
31+
- 'yarn test:nuts:tracking'
2432
fail-fast: false
2533
with:
2634
os: ${{ matrix.os }}
35+
command: ${{ matrix.command }}

src/commands/deploy.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@
77
/* eslint-disable class-methods-use-this */
88

99
import { EOL } from 'os';
10-
import { Flags, Hook } from '@oclif/core';
10+
import { Hook } from '@oclif/core';
1111
import { Messages } from '@salesforce/core';
1212
import { writeJson, pathExists, writeFile, readFile } from 'fs-extra';
1313
import { Env, parseJsonMap } from '@salesforce/kit';
14-
import { Deployable, Deployer, generateTableChoices, Prompter, SfCommand, SfHook } from '@salesforce/sf-plugins-core';
14+
import {
15+
Deployable,
16+
Deployer,
17+
generateTableChoices,
18+
Prompter,
19+
SfCommand,
20+
SfHook,
21+
Flags,
22+
} from '@salesforce/sf-plugins-core';
1523
import { exec } from 'shelljs';
1624
import { DeployerResult } from '@salesforce/sf-plugins-core/lib/deployer';
1725

0 commit comments

Comments
 (0)