Init commit #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Tests' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
unitTest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install Go to install summaraizer | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.2' | |
- name: Install ollama to call it via summaraizer | |
run: curl -fsSL https://ollama.com/install.sh | sh | |
- name: Run and setup ollama | |
run: | | |
ollama serve & | |
ollama pull phi3:mini | |
- run: npm install | |
- run: npm test |