Bump @types/node from 22.8.6 to 22.8.7 #322
Workflow file for this run
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: Manually run OpenAI tests | |
on: | |
pull_request: | |
types: | |
- labeled | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
test-openai: | |
name: Run tests | |
runs-on: macos-latest | |
if: contains(github.event.pull_request.labels.*.name, 'test-openai') | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache test model | |
id: cache-model | |
uses: actions/cache@v4 | |
with: | |
path: /Users/runner/.humanifyjs/models/ | |
key: models-phi | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- run: npm install --ci | |
- run: npm run build | |
- run: npm run download-ci-model | |
- run: npm run test:openai | |
env: | |
OPENAI_API_KEY: ${{secrets.OPENAI_API_KEY}} |