Skip to content

chore(ci): update npm publishing configuration (#964) #454

chore(ci): update npm publishing configuration (#964)

chore(ci): update npm publishing configuration (#964) #454

Workflow file for this run

name: build
on:
pull_request:
branches:
- '**'
push:
branches:
- ai
- main
jobs:
test-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Run tests
run: npm test
env:
LING_1T_API_KEY: ${{ secrets.LING_1T_API_KEY }}
- name: Build
run: npm run build