@@ -64,7 +64,7 @@
|
||||
{
|
||||
//Build
|
||||
const code = await ejs.renderFile(path.join(__utils, "workflow.yml"), {
|
||||
releases:["master", "latest"],
|
||||
releases:["master"],
|
||||
templates:(await fs.promises.readdir(__templates)).filter(name => !/.*[.]mjs$/.test(name)).sort(),
|
||||
testcase(context = {}) {
|
||||
return [`with:`, ...Object.entries({
|
||||
|
||||
@@ -182,4 +182,12 @@ jobs:
|
||||
plugin_projects_limit: 2,
|
||||
}) %>
|
||||
|
||||
- name: ${{ matrix.template }} > Plugin > Tweets
|
||||
uses: lowlighter/metrics@<%- release %>
|
||||
<%- testcase({
|
||||
plugin_tweets: true,
|
||||
plugin_tweets_limit: 2,
|
||||
plugin_tweets_token: "${{ secrets.TWITTER_TOKEN }}",
|
||||
}) %>
|
||||
|
||||
<% } -%>
|
||||
|
||||
Reference in New Issue
Block a user