Skip to content

Commit

Permalink
add initial workflow (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarhkVoyd authored Dec 19, 2023
1 parent a2862b4 commit e3211b1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Node.js CI

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

services:
docker:
image: cimg/node:18.19

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install Dependencies
run: npm install

- name: Run Static Tests
run: npm run test:static

- name: Run Unit Tests
run: npm run test:unit

- name: Build for Production
run: npm run build:prod

0 comments on commit e3211b1

Please sign in to comment.