Skip to content

chore(deps): bump prettier from 3.3.2 to 3.3.3 in /packages/generator #156

chore(deps): bump prettier from 3.3.2 to 3.3.3 in /packages/generator

chore(deps): bump prettier from 3.3.2 to 3.3.3 in /packages/generator #156

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
Test_and_Coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20.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: Run tests and collect coverage
run: yarn workspace prisma-generator-express test --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: packages/generator/coverage/lcov.info
flags: unittests
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Publish:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20.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 }}
permissions:
contents: write