File tree Expand file tree Collapse file tree 8 files changed +3498
-66
lines changed Expand file tree Collapse file tree 8 files changed +3498
-66
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,15 @@ jobs:
2121 uses : actions/setup-node@v1
2222 with :
2323 node-version : ${{ matrix.node-version }}
24- - run : npm install
25- - run : npm run build --if-present
26- - run : npm run lint
27- - run : npm test
24+ - uses : pnpm/action-setup@v4
25+ with :
26+ version : 9
27+ - run : pnpm install
28+ - run : pnpm install
29+ working-directory : examples
30+ - run : pnpm run build
31+ - run : pnpm run lint
32+ - run : pnpm run test
2833 deploy :
2934 needs : build
3035 runs-on : ubuntu-latest
3338 - uses : actions/setup-node@v1
3439 with :
3540 node-version : 18.x
36- - run : npm install
37- - run : npm run build --if-present
41+ - uses : pnpm/action-setup@v4
42+ with :
43+ version : 9
44+ - run : pnpm install
45+ - run : pnpm run build
3846 # https://github.com/marketplace/actions/npm-publish
3947 - uses : JS-DevTools/npm-publish@v2
4048 with :
Original file line number Diff line number Diff line change 2121 uses : actions/setup-node@v1
2222 with :
2323 node-version : ${{ matrix.node-version }}
24- - run : npm install
25- - run : npm run build --if-present
26- - run : npm run lint
27- - run : npm test
24+ - uses : pnpm/action-setup@v4
25+ with :
26+ version : 9
27+ - run : pnpm install
28+ - run : pnpm install
29+ working-directory : examples
30+ - run : pnpm run build
31+ - run : pnpm run lint
32+ - run : pnpm run test
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ npm-debug.log
55.DS_Store
66dist
77* .tgz
8- package-lock.json
8+ package-lock.json
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments