Skip to content

Commit

Permalink
add an action that check server run
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvdnl committed Apr 24, 2024
1 parent 965dd1f commit 066f2d6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/server-run-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: server-run-check

on:
pull_request:
branches: [main]
push:
branches:
- main

jobs:
check_server:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 'current'

- name: Install dependencies
run: npm install

- name: Run server
run: node server.js

0 comments on commit 066f2d6

Please sign in to comment.