Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/learn-github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: learn-github-actions
run-name: ${{ github.actor }} is learning GitHub Actions / Si!
on: [pull_request]
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm install -g bats
- run: bats -v
- run: echo "hello world"
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
const { Database } = require('sqlite3')
const { open } = require('sqlite')

const app = require('./app') // Import Express.js application
const app = require('./app') // testing

const { Server } = require('socket.io')
const http = require('http')

const chatHandler = require('./handler/chat')

// Function to setup database if it doesn't exist; this will run on start
// Function to setup database if it doesn't exist; this will run on start algo mas aqui *****
const setupDatabase = async () => {
// Open accounts database
const accDb = await open({
Expand Down