Bump @types/node from 18.16.0 to 22.8.7 #183
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: Testing | |
on: [push] | |
jobs: | |
test: | |
name: Test Node.js ${{ matrix.node-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: | |
- 19 | |
- 18 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: "https://registry.npmjs.org" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build library | |
run: npm run build | |
- name: Check Typescript types & Run Jest tests | |
run: npm run test | |
env: | |
OPEN_AI_API_KEY: ${{ secrets.OPEN_AI_API_KEY }} |