Skip to content

Commit a56baee

Browse files
committed
chore: fixedthe packages length check
1 parent c076e6d commit a56baee

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,5 @@ jobs:
1919
run: yarn install --frozen-lockfile
2020
- name: Prepare Npm
2121
run: sh npm.sh
22-
env:
23-
REGISTRY_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
24-
REGISTRY_URL: registry.npmjs.org
2522
- name: Test
26-
run: npm run test
27-
env:
28-
REGISTRY_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Github already has this token by default in repo
30-
REGISTRY_URL: registry.npmjs.org
23+
run: npm run testd

publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ module.exports = async function run(registryUrl = registry) {
5252

5353
assert.strictEqual(
5454
shell.ls("packages/").length + ignorePackages.length,
55-
41,
56-
"Something wrong while deleting ignored + deprecated package. Expected 41 but got " +
55+
42,
56+
"Something wrong while deleting ignored + deprecated package. Expected 42 but got " +
5757
parseInt(shell.ls("packages/").length + ignorePackages.length)
5858
);
5959

0 commit comments

Comments
 (0)