Skip to content

Commit

Permalink
Merge pull request #57 from prisma/revert-56-fix/npm-publish
Browse files Browse the repository at this point in the history
Revert "remove old npm publish script. Add new."
  • Loading branch information
jharrell authored Oct 22, 2024
2 parents 7cdb9e8 + edeafd3 commit 1ee88aa
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 43 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- "main"

name: "Publish"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm ci
- run: npm test
- run: npm run build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
41 changes: 0 additions & 41 deletions .github/workflows/version.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "try-prisma",
"version": "1.0.53",
"version": "1.0.54",
"description": "A CLI tool to help get you up and running with any Prisma example project.",
"type": "module",
"exports": "./dist/index.js",
Expand Down Expand Up @@ -61,4 +61,4 @@
"valid-filename": "^4.0.0",
"zod": "^3.21.2"
}
}
}

0 comments on commit 1ee88aa

Please sign in to comment.