We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d984b commit 110fb11Copy full SHA for 110fb11
.github/actions/yarn/action.yml
@@ -1,6 +1,11 @@
1
name: 'Restore Yarn Cache'
2
description: 'Setup a NodeJS environment and restore cache if any, given a node version'
3
4
+inputs:
5
+ token:
6
+ required: false
7
+ description: 'The NPM token to use'
8
+
9
runs:
10
using: 'composite'
11
steps:
@@ -9,6 +14,9 @@ runs:
14
with:
15
node-version-file: .nvmrc
16
registry-url: 'https://registry.npmjs.org'
17
+ env:
18
+ NODE_AUTH_TOKEN: ${{ inputs.token }}
19
12
20
- uses: actions/cache@v4
13
21
22
path: |
.github/workflows/publish.yml
@@ -36,6 +36,8 @@ jobs:
36
git config --global push.default current
37
38
- uses: ./.github/actions/yarn
39
+ with:
40
+ token: ${{ secrets.NPM_TOKEN }}
41
42
- run: yarn turbo run build --concurrency=3
43
- name: Publish
0 commit comments