Skip to content

Commit

Permalink
Move to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
woofers committed Jul 7, 2024
1 parent a962219 commit fc6b857
Show file tree
Hide file tree
Showing 132 changed files with 10,596 additions and 11,456 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'
registry-url: 'https://registry.npmjs.org'
- name: Use PNPM
uses: pnpm/action-setup@v4
with:
version: 9.4.0
- name: Deploy Info
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Install
run: yarn install
run: pnpm install
- name: Build
run: yarn build
run: pnpm build
- name: Test
run: yarn test
- name: Install Prod
run: yarn install --prod
- name: Install Demo
run: yarn --cwd demo install
run: pnpm test
- name: Build Demo
run: yarn --cwd demo build
- name: Test Demo
run: yarn --cwd demo test
run: pnpm build-site
- name: Publish
if: startsWith(github.ref, 'refs/tags/')
run: yarn publish --access public
run: pnpm package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish Demo
if: startsWith(github.ref, 'refs/tags/')
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: gh-pages
folder: demo/build/react-sheet-slide
folder: packages/website/build/react-sheet-slide
commit-message: Updates
14 changes: 0 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,3 @@ dist
npm-debug.log*
yarn-debug.log*
yarn-error.log*

lib/*.d.ts
lib/*.css
lib/hooks/*.js
lib/hooks/*.ts
lib/hooks/*.tsx
lib/utils/*.ts
lib/utils/*.tsx
lib/utils/*.js
/style.css
lib/react-sheet-slide.cjs
lib/react-sheet-slide.dev.cjs
lib/react-sheet-slide.dev.js
lib/react-sheet-slide.js
183 changes: 0 additions & 183 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Loading

0 comments on commit fc6b857

Please sign in to comment.