github-actions-demo/index.js

12 lines
209 B
JavaScript

const express = require('express');
const app = express();
app.get('/', (req, res) => {
res.set('Content-Type', 'text/plain');
res.send('Hello World');
});
module.exports = app.listen(8080, () => {
});