Skip to content

Commit

Permalink
updated pnpm to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
proksh committed Sep 16, 2024
1 parent b779f84 commit 5e5c451
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'pnpm'
cache: 'npm'

- run: pnpm install --frozen-lockfile
- run: npm install --frozen-lockfile
working-directory: packages/react
- run: pnpm run lint && pnpm run build
- run: npm run lint && npm run build
working-directory: packages/react
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'pnpm'
cache: 'npm'

- run: pnpm install --frozen-lockfile
- run: npm install --frozen-lockfile
working-directory: packages/react
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run build
publish: npm run build
working-directory: packages/react

0 comments on commit 5e5c451

Please sign in to comment.