Update release-v1 workflow #339
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
on: | |
push: | |
branches: [master, v1] | |
pull_request: | |
name: CI | |
jobs: | |
build: | |
name: build library | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
# Setup environment | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Install dependencies | |
- name: Install dependencies | |
run: npm install | |
# Build | |
- name: Prepare | |
run: npm run generate-prisma | |
- name: Build | |
run: npm run build | |
# Light tests (docker tests not supported yet) | |
- name: Light tests | |
run: npm run no-docker-examples |