Skip to content

Commit

Permalink
build: changeset pnpm fix (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 authored Oct 25, 2023
1 parent 8e4178e commit f2db684
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ jobs:
cat ./packages/composable-cli/.env
- name: Install Dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
version: pnpm ci:version
publish: pnpm ci:publish
commit: "chore: update versions"
title: "chore: update versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"test:e2e": "NODE_ENV=test pnpm start:e2e & (sleep 5 && turbo run test:e2e --filter='./examples/basic' && kill $(lsof -t -i tcp:3000))",
"build:cli": "turbo run build --filter=composable-cli...",
"build:packages": "turbo run build --filter='./packages/*'",
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
"ci:publish": "pnpm publish -r && changeset tag",
"examples": "turbo run build --filter=composable-cli... && pnpm run scaffold:local",
"scaffold:local": "pnpm ts-node ./scripts/generate-examples.ts"
},
Expand Down

0 comments on commit f2db684

Please sign in to comment.