Disable cache for Bitbucket #4446
node.js.yml
on: pull_request
Create Package
2m 46s
Tests
2m 13s
Test coverage
3m 21s
Cypress
4m 38s
Performance
1m 32s
Annotations
3 errors and 6 warnings
Tests
@tokens-studio/figma-plugin#test: command (/home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma) yarn run test exited (1)
|
Tests
Process completed with exit code 1.
|
Test coverage
Error: Command failed: cd packages/tokens-studio-for-figma && npm run test:coverage:ci && cd ../.. && mv packages/tokens-studio-for-figma/coverage-summary.json coverage-summary.json
npm warn ignoring workspace config at /home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma/.npmrc
npm warn ignoring workspace config at /home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma/.npmrc
npm warn ignoring workspace config at /home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma/.npmrc
● BitbucketTokenStorage › can read from Git in single file format
expect(jest.fn()).toBeCalledWith(...expected)
- Expected
+ Received
"https://api.bitbucket.org/2.0/repositories/MattOliver/figma-tokens-testing/src/main/",
Object {
+ "cache": "no-cache",
"headers": Object {
"Authorization": "Basic bXl1c2VybmFtZTptb2NrLXNlY3JldA==",
},
},
Number of calls: 1
162 | ]);
163 |
> 164 | expect(mockFetch).toBeCalledWith(
| ^
165 | `https://api.bitbucket.org/2.0/repositories/${storageProvider.owner}/${storageProvider.repository}/src/${storageProvider.branch}/`,
166 | {
167 | headers: {
at Object.<anonymous> (src/storage/__tests__/BitbucketTokenStorage.test.ts:164:23)
● Add license key › Shows the backend error when added license is not valid
Unable to find an element with the text: /Validate error message/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="c-dhzjXW c-dhzjXW-iTKOFX-direction-column c-dhzjXW-fVlWzK-gap-3 c-dhzjXW-ibvOJhS-css"
>
<div
class="c-dhzjXW c-dhzjXW-ejCoEP-direction-row c-dhzjXW-jroWjL-align-center c-dhzjXW-knmidH-justify-between c-dhzjXW-kdofoX-gap-2"
>
<h3
class="c-jOawgm c-jOawgm-eaEHow-size-medium"
>
licenseKey
</h3>
<div
class="c-dhzjXW c-dhzjXW-ejCoEP-direction-row c-dhzjXW-jroWjL-align-center c-dhzjXW-kdofoX-gap-2"
>
<a
class="c-jLXdFp"
href="https://tokens.studio/plugin"
target="_blank"
>
getPro
</a>
</div>
</div>
<div
class="c-dhzjXW c-dhzjXW-ejCoEP-direction-row c-dhzjXW-kdofoX-gap-2 c-dhzjXW-ieJmCHe-css"
>
<div
class="c-PJLV c-PJLV-ieGaVeY-css"
>
<div
class="c-eklBzh c-eklBzh-eiOciw-validationStatus-error c-eklBzh-AzOMa-size-medium"
>
<input
class="c-iBSbIv c-iBSbIv-jjzWJh-hasLeadingVisual-false"
data-testid="settings-license-key-input"
name="license-key"
type="password"
value="validate-error-c421c421-c421c421c421421-41"
/>
<div
class="c-ibZtZK"
>
<button
class="c-bRWpfS c-bRWpfS-ipNFew-size-small c-bRWpfS-jUAnNQ-variant-invisible"
type="bu
|
Performance
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Create Package
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: anuraag016/Jest-Coverage-Diff@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, anuraag016/Jest-Coverage-Diff@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Cypress
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
package
|
6.84 MB |
|