File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11name : ' Restore Yarn Cache'
22description : ' Setup a NodeJS environment and restore cache if any, given a node version'
33
4+ inputs :
5+ token :
6+ description : ' NPM Token'
7+ required : false
8+
49runs :
510 using : ' composite'
611 steps :
712 - name : Setup Node.js
813 uses : actions/setup-node@v3
914 env :
10- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
15+ NODE_AUTH_TOKEN : ${{ inputs.token }}
1116 with :
1217 node-version-file : .nvmrc
1318 registry-url : https://registry.npmjs.org/
Original file line number Diff line number Diff line change 3636 git config --global push.default current
3737
3838 - uses : ./.github/actions/yarn
39+ with :
40+ token : ${{ secrets.NPM_TOKEN }}
3941
4042 - run : yarn turbo run build --concurrency=3
4143
5153 steps :
5254 - uses : actions/checkout@v3
5355 - uses : ./.github/actions/yarn
56+ with :
57+ token : ${{ secrets.NPM_TOKEN }}
5458 - run : npx auto pr-check --url "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}?pr=${{github.event.pull_request.number}}"
5559 env :
5660 GH_TOKEN : ${{ secrets.ACTIONS_GITHUB_TOKEN || github.token }}
You can’t perform that action at this time.
0 commit comments