Skip to content

Merge pull request #92 from prisma-idb/91-referential-actions #42

Merge pull request #92 from prisma-idb/91-referential-actions

Merge pull request #92 from prisma-idb/91-referential-actions #42

Workflow file for this run

name: CD Pipeline
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: npm token setup
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN --workspaces=false
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run release --workspace=packages/generator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}