Skip to content

Release-V1

Release-V1 #9

Workflow file for this run

on:
workflow_dispatch:
name: Release-V1
jobs:
build:
name: build library
runs-on: ubuntu-latest
steps:
# Setup environment
- uses: actions/checkout@v4
with:
ref: v1
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# Show package.json
- name: Show package.json
run: 'cat package.json'
# 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
# Publish
- name: Build for dist & Publish
run: npm run dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}