Skip to content

Commit

Permalink
step 3: adapt the deploy and release workflows to pnpm and monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueCutOfficial committed Feb 8, 2024
1 parent d57ec04 commit d62ea56
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:

- name: Install and Build 🔧
run: |
yarn
yarn build
pnpm install
pnpm build:test-app
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
folder: packages/test-app/dist
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- run: npm publish
working-directory: packages/ember-promise-modals
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"packages/*"
],
"scripts": {
"build:test-app": "pnpm --filter test-app build",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:md": "prettier --check '**/*.md'",
"lint:md:fix": "prettier --write '**/*.md'",
Expand Down

0 comments on commit d62ea56

Please sign in to comment.