File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1616 node-version : 20
1717 check-latest : true
1818 cache : ' pnpm'
19- - run : pnpm install
19+ - run : make install-dependencies
2020 - name : Check title
2121 run : |
2222 title=$(cat <<- "EOF"
Original file line number Diff line number Diff line change 4646 id : pages
4747 uses : actions/configure-pages@v5
4848 - name : Install dependencies
49- run : pnpm install
49+ run : make install-dependencies
5050 - name : Build doc
51- run : pnpm run doc
51+ run : make doc
5252 - name : Upload artifact
5353 uses : actions/upload-pages-artifact@v3
5454 with :
Original file line number Diff line number Diff line change @@ -30,18 +30,18 @@ jobs:
3030 registry-url : ' https://registry.npmjs.org/'
3131 node-version : 20
3232 check-latest : true
33- - run : pnpm install
34- - run : pnpm run build
33+ - run : make install-dependencies
34+ - run : make build
3535
3636 - name : Version package with lerna
37- run : pnpm lerna version -y --no-private --force-git-tag --create-release github
37+ run : make publish
3838 env :
3939 HUSKY : 0
4040 GH_TOKEN : ${{ secrets.GH_TOKEN }}
4141
4242 # https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
4343 - name : Publish to npm
44- run : pnpm -r publish --access public --tag latest
44+ run : make publish
4545 env :
4646 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4747 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1919 node-version : 20
2020 check-latest : true
2121 cache : ' pnpm'
22- - run : pnpm install
23- - run : pnpm typecheck
22+ - run : make install-dependencies
23+ - run : make typing
2424 lint :
2525 runs-on : ubuntu-24.04
2626 steps :
3232 node-version : 20
3333 check-latest : true
3434 cache : ' pnpm'
35- - run : pnpm install
36- - run : pnpm run build
37- - run : pnpm run lint
35+ - run : make install-dependencies
36+ - run : make build
37+ - run : make lint
3838 test :
3939 runs-on : ubuntu-24.04
4040 strategy :
5454 node-version : ${{ matrix.node }}
5555 check-latest : true
5656 cache : ' pnpm'
57- - run : pnpm install
58- - run : pnpm run build
59- - run : pnpm run test: coverage --environment ${{ matrix.test-environment }}
57+ - run : make install-dependencies
58+ - run : make build
59+ - run : make test- coverage --environment ${{ matrix.test-environment }}
6060
You can’t perform that action at this time.
0 commit comments