Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jharlow committed Oct 11, 2024
1 parent 734c52b commit 5237508
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@ jobs:
with:
node-version: "20"
cache: "pnpm"
- name: Pack the package
run: pnpm pack
- name: Publish tarball to npm 🚀
- name: Install packages
run: pnpm install
- name: Run build command
run: pnpm build
- name: Publish to npm 🚀
shell: bash
run: |-
cat package.json |
jq '.version' |
xargs -I {} pnpm publish zod-to-dynamodb-onetable-schema-{}.tgz --access public --no-git-checks
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
"bugs": {
"url": "httckaps://github.com/jharlow/zod-to-dynamodb-onetable-schema/issues"
},
"main": "index.ts",
"exports": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib",
"README.md",
"package.json"
],
"type": "module",
"exports": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "tsc --build --clean && rm -rf lib",
Expand Down

0 comments on commit 5237508

Please sign in to comment.