File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1- # ew tips github actions
2- # -# uses: mxschmitt/action-tmate@v2
31on :
42 pull_request :
53 push :
64 branches :
7- - master
5+ - main
86
97jobs :
108 CI :
1917 - uses : pnpm/action-setup@v2
2018 with :
2119 version : 8
22- - uses : actions/setup-node@v2
20+ - uses : actions/setup-node@v3
2321 with :
2422 node-version : ${{ matrix.node }}
2523 cache : " pnpm"
Original file line number Diff line number Diff line change 1414 contents : write
1515 env :
1616 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17- NPM_TOKEN : ${{ secrets.NPM_TOKEN2 }}
17+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
1818 steps :
1919 - uses : actions/checkout@v3
2020 with :
2525 - uses : actions/setup-node@v3
2626 with :
2727 node-version : " 18.x"
28+ registry-url : " https://registry.npmjs.org"
2829 cache : " pnpm"
2930
3031 - run : pnpm install --frozen-lockfile
31- - run : pnpm build
32- - run : |
33- cat << EOF > "$HOME/.npmrc"
34- //registry.npmjs.org/:_authToken=$NPM_TOKEN2
35- EOF
3632 - run : pnpm changeset:release
You can’t perform that action at this time.
0 commit comments