Skip to content

Variable sync plugin with extracted sync providers #4389

Variable sync plugin with extracted sync providers

Variable sync plugin with extracted sync providers #4389

Triggered via pull request September 30, 2024 09:57
Status Failure
Total duration 4m 12s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 7 warnings
Tests
variables-sync-plugin#test: command (/home/runner/work/figma-plugin/figma-plugin/packages/variables-sync-plugin) yarn run test exited (1)
Tests
Process completed with exit code 1.
Transformer Tests
Process completed with exit code 1.
Performance
Process completed with exit code 1.
Create Package
Cannot find module './Providers' or its corresponding type declarations.
Create Package
@tokens-studio/sync-providers#build: command (/home/runner/work/figma-plugin/figma-plugin/packages/sync-providers) yarn run build exited (1)
Create Package
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 ● Test suite failed to run Cannot find module '@sync-providers/constants' from 'src/app/store/models/uiState.tsx' Require stack: src/app/store/models/uiState.tsx src/app/store/models/index.tsx src/app/store/models/tokenState.test.ts 2 | import { createModel } from '@rematch/core'; 3 | import type { StorageProviderType } from '@sync-providers/types'; > 4 | import { AVAILABLE_PROVIDERS } from '@sync-providers/constants'; | ^ 5 | import { track } from '@/utils/analytics'; 6 | import type { RootModel } from '@/types/RootModel'; 7 | import fetchChangelog from '@/utils/storyblok'; at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:427:11) at Object.<anonymous> (src/app/store/models/uiState.tsx:4:1) at Object.<anonymous> (src/app/store/models/index.tsx:2:1) at Object.<anonymous> (src/app/store/models/tokenState.test.ts:3:1) ● Test suite failed to run Cannot find module '@sync-providers/constants' from 'src/utils/is/isGitProvider.ts' Require stack: src/utils/is/isGitProvider.ts src/utils/is/index.ts src/utils/convertTokens.tsx src/utils/parseTokenValues.ts src/storage/RemoteTokenStorage.ts src/storage/GitTokenStorage.ts src/storage/GithubTokenStorage.ts src/storage/__tests__/GithubTokenStorage.test.ts 1 | import type { StorageProviderType } from '@sync-providers/types'; > 2 | import { AVAILABLE_PROVIDERS } from '@sync-providers/constants'; | ^ 3 | import { StorageType, StorageTypeCredentials, StorageTypeFormValues } from '@/types/StorageType'; 4 | 5 | export function isGitProvider< at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:427:11) at Object.<anonymous> (src/utils/is/isGitProvider.ts:2:1) at Object.<anonymous> (src/utils/is/index.ts:8:1) at Object.<anonymous> (src/utils/convertTokens.tsx:3:1) at Object.<anonymous> (src/utils/parseTokenValues.ts:4:1) at Object.<anonymous> (src/storage/RemoteTokenStorage.ts:5:1) at Object.<anonymous> (src/storage/GitTokenStorage.ts:5:1) at Object.<anonymous> (src/storage/GithubTokenStorage.ts:7:1) at Object.<anonymous> (src/storage/__tests__/GithubTokenStorage.test.ts:3:1) ● Test suite failed to run Cannot find module '@sync-providers/types' from 'src/app/store/remoteTokens.tsx' Require stack: src/app/store/remoteTokens.tsx src/app/store/remoteTokens.test.ts 3 | import { LDProps } from 'launchdarkly-react-client-sdk/lib/withLDConsumer'; 4 | import compact from 'just-compact'; > 5 | import { StorageProviderType } from '@sync-providers/types'; | ^ 6 | import { useGitHub } from '@sync-providers/providers'; 7 | import { track } from '@/utils/analytics'; 8 | import { useJSONbin } from './providers/jsonbin'; at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:427:11) at Object.<anonymous> (src/app/store/remoteTokens.tsx:5:1) at Object.<anonymous> (src/app/store/remoteTokens.test.ts:3:1) ● Test suite failed to run Cannot find module '@sync-providers/constants' from 'src/utils/is/isGitProvider.ts' Require stack: src/utils/is/isGitProvider.ts src/utils/is/index.ts src/utils/alias/getAliasValue.ts src/utils/alias/index.ts src/app/store/useTokens.tsx src/app/store/useTokens.tes
Cypress
The process '/opt/hostedtoolcache/node/18.20.4/x64/bin/npm' failed with exit code 1
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/
Transformer 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/
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/
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/