Skip to content

Commit

Permalink
Merge pull request #344 from Weaverse/paul
Browse files Browse the repository at this point in the history
feat: use pnpm
  • Loading branch information
paul-phan authored Nov 21, 2023
2 parents 53964d0 + 2f81f27 commit 646b96e
Show file tree
Hide file tree
Showing 13 changed files with 14,176 additions and 28,338 deletions.
35 changes: 24 additions & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:
actions: write
contents: read


jobs:
lint:
name: ⬣ ESLint
Expand All @@ -22,15 +23,21 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4

- name: 📥 Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true
version: 8


- name: ⎔ Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: ./package.json
node-version: 18
cache: pnpm

- name: 📥 Install deps
run: npm install
- name: 🖼 Build icons
run: npm run build:icons

- name: 🔬 Lint
run: npm run lint
Expand All @@ -42,15 +49,21 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4

- name: 📥 Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true
version: 8


- name: ⎔ Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: ./package.json
node-version: 18
cache: pnpm

- name: 📥 Install deps
run: npm install
- name: 🖼 Build icons
run: npm run build:icons

- name: 🔎 Type check
run: npm run typecheck --if-present
run: npm run typecheck --if-present
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
@weaverse:registry=https://registry.npmjs.com
progress=false
node-linker=hoisted
enable-pre-post-scripts=true
Loading

0 comments on commit 646b96e

Please sign in to comment.