Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Bump prisma from 5.4.1 to 5.4.2 in /packages/generator #53

Bump prisma from 5.4.1 to 5.4.2 in /packages/generator

Bump prisma from 5.4.1 to 5.4.2 in /packages/generator #53

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "*"
permissions:
contents: write
issues: write
pull-requests: write
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version:
- 18.x
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Tests 🧪
working-directory: ./packages/generator
run: yarn run test
Publish:
runs-on: ubuntu-latest
needs:
- Test
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
registry-url: https://registry.npmjs.org
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Publish 🚀
working-directory: ./packages/generator
run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}