Skip to content

Commit

Permalink
chore: initial server (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Liendo authored Jul 12, 2024
1 parent f227d13 commit d8289da
Show file tree
Hide file tree
Showing 33 changed files with 3,241 additions and 60 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Server

on:
push:
branches:
- main
pull_request:

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
workdir: ./server

steps:
- name: Checkout Source
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install Dependencies
working-directory: ${{ env.workdir }}
run: npm install

- name: Lint Check
working-directory: ${{ env.workdir }}
run: npm run lint

- name: Build Check
working-directory: ${{ env.workdir }}
env:
NODE_ENV: production
PORT: 3000
run: npm run build
Loading

0 comments on commit d8289da

Please sign in to comment.