Create app-unit-test.yml

This commit is contained in:
Rune Harlyk
2024-02-23 14:02:13 +01:00
committed by GitHub
parent 7c7c16fbde
commit bddf96a748
+28
View File
@@ -0,0 +1,28 @@
name: CI
# This workflow is triggered on pushes and pull requests to the main branch.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test