Add lint and test steps to GitHub Actions #1
Annotations
2 errors and 1 warning
node-src/git/getCommitAndBranch.test.ts > getCommitAndBranch > GitHub PR build > throws on missing variable:
node-src/git/getCommitAndBranch.test.ts#L200
AssertionError: promise resolved "{ …(9) }" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Object {
+ "branch": "github",
+ "ciService": undefined,
+ "commit": "48e0c83fadbf504c191bc868040b7a969a4f1feb",
+ "committedAt": 1640094096000,
+ "committerEmail": "[email protected]",
+ "committerName": "GitHub",
+ "fromCI": true,
+ "mergeCommit": "5424fa5d317ff95dc45a53b5ee4c2dbc5817058f",
+ "slug": "chromaui/chromatic-cli",
+ }
❯ node-src/git/getCommitAndBranch.test.ts:200:43
|
self-test
Process completed with exit code 1.
|
self-test
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/
|