mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-05-15 16:12:20 +02:00
Compare commits
5 Commits
826ed1ce07
...
c30c2640ec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c30c2640ec | ||
|
|
a036e78897 | ||
|
|
632d2c6086 | ||
|
|
b6dd07459e | ||
|
|
42c64e9f97 |
22
.github/workflows/node.js.yml
vendored
22
.github/workflows/node.js.yml
vendored
@@ -37,25 +37,3 @@ jobs:
|
||||
- run: npm ci
|
||||
- run: npm run build --if-present
|
||||
- run: npm test
|
||||
- name: Output Build Status
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
const { context } = require('@actions/github');
|
||||
const core = require('@actions/core');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const readline = require('readline');
|
||||
|
||||
const outputPath = path.join(process.env.GITHUB_WORKSPACE, 'README.md');
|
||||
const fileStream = fs.createWriteStream(outputPath, { flags: 'a' });
|
||||
const rl = readline.createInterface({ input: process.stdin, output: fileStream });
|
||||
|
||||
if (context.isFailureGroup) {
|
||||
core.setFailed('Build failed');
|
||||
} else {
|
||||
rl.write('## Build Status\n');
|
||||
rl.write('\n');
|
||||
rl.close();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||

|
||||
<!-- README.md -->
|
||||
+ [](https://github.com/Ichitux/lambada-fiesta-live/actions)
|
||||
|
||||
|
||||
# Project Name
|
||||
|
||||
Reference in New Issue
Block a user