Skip to content

Bump @mistralai/mistralai from 0.1.3 to 0.4.0 #321

Bump @mistralai/mistralai from 0.1.3 to 0.4.0

Bump @mistralai/mistralai from 0.1.3 to 0.4.0 #321

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x, 20.x, 21.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf ssh://git@github.com/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
registry-url: "https://npm.pkg.github.com"
- run: npm ci
env:
NODE_OPTIONS: "--max_old_space_size=4096"
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm run build --if-present
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- run: npm test
env:
NODE_OPTIONS: "--max_old_space_size=4096"