Skip to content

Commit

Permalink
Add CI workflow (#1)
Browse files Browse the repository at this point in the history
## Description:
Adds CI workflow for repo
  • Loading branch information
Krakabek authored May 23, 2024
1 parent 5cd9095 commit ddc8da5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: CI

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

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
- name: Install Dependencies
run: npm ci --no-fund
- name: Test Format
run: npm run test:format
- name: Unit Tests
run: npm run test:unit
- name: Build
run: npm run build

0 comments on commit ddc8da5

Please sign in to comment.