Преглед изворни кода
Try a basic GitHub Actions workflow
As a means of seeing how GitHub Actions
work compared to Travis CI, these changes creates
a so-called workflow that runs `$ npm test`
upon every `$ git push` to the repository.
tags/v3.0.2
Phillip Johnsen
GitHub
пре 6 година
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
9 додато и
0 уклоњено
-
.github/main.workflow
|
|
|
@@ -0,0 +1,9 @@ |
|
|
|
workflow "Verify changes on push" { |
|
|
|
resolves = ["Run all tests"] |
|
|
|
on = "push" |
|
|
|
} |
|
|
|
|
|
|
|
action "Run all tests" { |
|
|
|
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" |
|
|
|
args = "test" |
|
|
|
} |