Skip to content

Use summaraizer binary #33

Use summaraizer binary

Use summaraizer binary #33

Workflow file for this run

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
env:
GH_TOKEN: {{ secrets.GITHUB_TOKEN }}

Check failure on line 37 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 37, Col: 23): A mapping was not expected
distUpToDateCheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: npm install
run: npm install
- name: Build
run: npm run build
- name: Verify dist is up-to-date
run:
git diff --exit-code