Skip to content

Commit

Permalink
feat: converting everything npm
Browse files Browse the repository at this point in the history
  • Loading branch information
MadaraUchiha-314 committed Aug 19, 2023
1 parent d197281 commit c4ff12c
Show file tree
Hide file tree
Showing 9 changed files with 10,035 additions and 3,790 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,8 @@ jobs:
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- name: 'Setting up pnpm'
uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- run: pnpm install --frozen-lockfile
- run: pnpm -r build
- run: npm install --frozen-lockfile
- run: npm run build --workspaces --if-present
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,5 @@ jobs:
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- name: 'Setting up pnpm'
uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- run: pnpm install --frozen-lockfile
- run: pnpm -r build
- run: npm install --frozen-lockfile
- run: npm build --workspaces --if-present
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
. "$(dirname -- "$0")/_/husky.sh"

if [[ ! -n "${CI}" ]]; then
pnpm lint
npm lint
fi
Loading

0 comments on commit c4ff12c

Please sign in to comment.