Bump github.com/sashabaranov/go-openai from 1.32.0 to 1.35.6 in /packages/grafana-llm-app #372
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: Run tests | |
on: [pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- name: Setup Go environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Install Mage | |
uses: magefile/mage-action@v3 | |
with: | |
install-only: true | |
- name: Install dependencies | |
run: npm ci | |
- name: Build plugin | |
run: npm run build:all | |
- name: Run frontend tests | |
run: npm run test:ci | |
- name: Run backend tests | |
run: npm run backend:test | |
- name: Run E2E tests | |
run: npm run e2e:ci | |
id: run-e2e-tests | |
- name: Archive E2E output | |
uses: actions/upload-artifact@v3 | |
if: steps.run-e2e-tests.outcome != 'success' | |
with: | |
name: cypress-videos | |
path: cypress/videos | |
retention-days: 5 |