diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..11b72c1ba30 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,31 @@ +name: Node.js CI/CD Workflow + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - name: Start application + run: npm start diff --git a/settings.js b/settings.js index 8b5d51cd0c2..192639cc30c 100644 --- a/settings.js +++ b/settings.js @@ -5,7 +5,7 @@ function convertToBool(text, fault = 'true') { } module.exports = { -SESSION_ID: process.env.SESSION_ID === undefined ? 'Your SESSION ID Put' : process.env.SESSION_ID, +SESSION_ID: process.env.SESSION_ID === undefined ? 'π™°πš‚π™Έπšƒπ™·π™°-𝙼𝙳=87f591443831d500' : process.env.SESSION_ID, PORT: process.env.PORT === undefined ? "8000" : process.env.PORT, SESSION_NAME: process.env.PORT === undefined ? "asitha" : process.env.SESSION_NAME, };