fix typography tokens resolution #4385
node.js.yml
on: pull_request
Create Package
2m 24s
Tests
2m 8s
Test coverage
3m 14s
Cypress
3m 49s
Performance
1m 15s
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
● Can set values on node › calls setTextValuesOnTarget if text node and composite typography tokens are given
expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
266 | },
267 | );
> 268 | expect(setTextValuesOnTargetSpy).toHaveBeenCalled();
| ^
269 | });
270 |
271 | it('sets textstyle if matching Style is found', async () => {
at Object.<anonymous> (src/plugin/__tests__/setValuesOnNode.test.ts:268:38)
npm error Lifecycle script `test` failed with error:
npm error Error: command failed
npm error in workspace: @tokens-studio/[email protected]
npm error at location: /home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma
npm error Lifecycle script `test:coverage` failed with error:
npm error Error: command failed
npm error in workspace: @tokens-studio/[email protected]
npm error at location: /home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma
npm error Lifecycle script `test:coverage:ci` failed with error:
npm error Error: command failed
npm error in workspace: @tokens-studio/[email protected]
npm error at location: /home/runner/work/figma-plugin/figma-plugin/packages/tokens-studio-for-figma
|
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.8 MB |
|