Skip to content

Commit ecbe29c

Browse files
committed
use npm
1 parent e5c6297 commit ecbe29c

File tree

9 files changed

+4483
-3542
lines changed

9 files changed

+4483
-3542
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,25 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.nodejs }}
2626

27-
- name: (env) pnpm
28-
run: curl -L https://pnpm.js.org/pnpm.js | node - add --global pnpm
29-
3027
- name: (env) cache
3128
uses: actions/cache@v2
3229
with:
33-
path: ~/.pnpm-store
34-
key: ${{ runner.os }}-${{ matrix.nodejs }}-${{ hashFiles('**/package.json') }}
35-
restore-keys: ${{ runner.os }}-${{ matrix.nodejs }}-
30+
# npm cache files are stored in `~/.npm` on Linux/macOS
31+
path: ~/.npm
32+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
33+
restore-keys: |
34+
${{ runner.os }}-build-${{ env.cache-name }}-
35+
${{ runner.os }}-build-
36+
${{ runner.os }}-
3637
3738
- name: Install
38-
run: pnpm install
39+
run: npm install
3940

4041
- name: Run Tests
41-
run: pnpm test
42+
run: npm test
4243

4344
- name: Check Types
44-
run: pnpm run types
45+
run: npm run types
4546

4647
- name: Compiles
47-
run: pnpm run build
48+
run: npm run build

0 commit comments

Comments
 (0)