Skip to content

Conversation

@louisinger
Copy link
Collaborator

@louisinger louisinger commented Oct 26, 2022

  • former test script is now renamed as test:ci (check formatting, prettier, lint etc...)
  • a new test lets to launch unit and integration tests

it closes #60

@tiero @altafan please review

@tiero
Copy link
Member

tiero commented Oct 31, 2022

need to change the github action?

@altafan
Copy link
Collaborator

altafan commented Oct 31, 2022

cc @louisinger

@louisinger
Copy link
Collaborator Author

UPDATE

test:ci script has been renamed checks

"prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore",
"test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage",
"checks": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage",
"test": "npm run build && npm run nobuild:unit && npm run nobuild:integration",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"test": "npm run build && npm run nobuild:unit && npm run nobuild:integration",
"test": "npm run nobuild:unit && npm run nobuild:integration",

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@louisinger we should use these commands in the gh action.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@louisinger we should use these commands in the gh action.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to keep several steps in the GH actions, test is for local testing only @altafan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify the pkg.json scripts

3 participants