Skip to content

Restructuring readme #912

Restructuring readme

Restructuring readme #912

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- run: curl https://get.volta.sh | bash
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# - run: yarn set version 4
- run: ~/.volta/bin/volta list
# I added this to suppress this warning:
# YN0018: typescript@patch:typescript@npm%3A5.1.3#optional!builtin<compat/typescript>::version=5.1.3&hash=5da071: The remote archive doesn't match the expected checksum
- run: YARN_CHECKSUM_BEHAVIOR=ignore ~/.volta/bin/yarn install --immutable
env:
OPENAI_API_KEY: 'FAKE-OPENAI-API-KEY'
- run: ~/.volta/bin/yarn test