Skip to content

feat: Update .gitignore #107

feat: Update .gitignore

feat: Update .gitignore #107

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
integration:
needs: test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
env:
REPLICATE_API_TOKEN: ${{ secrets.REPLICATE_API_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# Build a production tarball and run the integration tests against it.
- run: ./script/test-integration