Skip to content

deps(prisma): bump prisma version to 5.0.0 #6

deps(prisma): bump prisma version to 5.0.0

deps(prisma): bump prisma version to 5.0.0 #6

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
jobs:
check:
# disable check workflow
if: ${{ github.ref == 'refs/heads/none' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup project
run: |
npm install
- name: Check codebase
run: |
npm run check:format
npm run check:type
- name: Run tests
run: |
npm run test:ci
env:
CI: true
deploy-website:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Build Docusaurus website
run: |
cd website
npm i
npm run build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
user_name: "gh-actions"
user_email: "[email protected]"
commit_message: |
Deploy website
Deploy website version based on