Skip to content

Commit 512e144

Browse files
fix(release): update GitHub Actions permissions and refine test log expectations
1 parent ce2345e commit 512e144

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ jobs:
99
publish:
1010
uses: cloudbeds/workflows/.github/workflows/npm-build-test-release.yml@main
1111
secrets: inherit
12+
permissions:
13+
id-token: write
14+
contents: read

src/compileTypes/__tests__/compileTypesWorker.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ describe('compileTypesWorker', () => {
154154

155155
expect(workerLogger.log).toHaveBeenCalledWith('Types compilation completed in 2.00 seconds');
156156
expect(workerLogger.log).toHaveBeenCalledWith('Typings file rewritten in 1.00 seconds');
157-
expect(workerLogger.info).toHaveBeenCalledWith(
158-
'Types compiled in 2.00 + 1.00 seconds',
159-
);
157+
expect(workerLogger.info).toHaveBeenCalledWith('Types compiled in 2.00 + 1.00 seconds');
160158
});
161159
});

0 commit comments

Comments
 (0)