File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ This is a list of ENV Variables that are used in GH Action:
42
42
| name | description |
43
43
| -------------------------- | --------------------------------------------------------- |
44
44
| ` DOCKER_BUILDX_ENDPOINT ` | Docker buildx endpoint (Optional if using for GH runners) |
45
- | ` GCR_ACCOUNT_KEY ` | Necessary token to push image to Google cloud |
46
45
| ` GITHUB_TOKEN ` | GitHub token. Is used to checkout ` davinci ` branch |
47
46
| ` TOPTAL_BUILD_BOT_SSH_KEY ` | SSH key to access Google cloud |
48
47
Original file line number Diff line number Diff line change 5
5
description : Access token type **Read-only**. Required for repository with private dependencies. If undefined, `env.NPM_TOKEN` is used
6
6
required : false
7
7
cache-version :
8
- description : " Cache version"
9
- default : " 0.0"
8
+ description : ' Cache version'
9
+ default : ' 0.0'
10
10
required : false
11
11
path :
12
12
description : Relative path under $GITHUB_WORKSPACE where to run `yarn install` command
@@ -20,11 +20,11 @@ inputs:
20
20
required : false
21
21
max-attempts :
22
22
description : How many times to retry installing. This is specially useful if the building of packages might fail because of network connections
23
- default : " 1 "
23
+ default : ' 1 '
24
24
required : false
25
25
outputs :
26
26
cache-hit :
27
- description : " Indicates an exact match was found for `node_modules` || boolean"
27
+ description : ' Indicates an exact match was found for `node_modules` || boolean'
28
28
value : ${{ steps.node-modules-cache.outputs.cache-hit || steps.node-modules-cache-custom.outputs.cache-hit }}
29
29
runs :
30
30
using : composite
61
61
62
62
- name : Cache yarn and node_modules folder
63
63
if : " inputs.checkout-token && (contains(runner.name, 'inf-gha-runners') || contains(runner.name, 'ubuntu2204'))"
64
- uses : ./.github/cache_action/ cache/
64
+ uses : toptal/actions/ cache@main
65
65
id : node-modules-cache-custom
66
66
with :
67
67
# Do not change the order of the values because if something goes wrong with the network or node_modules during
@@ -100,7 +100,7 @@ runs:
100
100
fi
101
101
102
102
echo "registry=https://us-central1-npm.pkg.dev/toptal-ci/npm-registry/" > ${{ inputs.path }}/.npmrc
103
-
103
+
104
104
echo "//us-central1-npm.pkg.dev/toptal-ci/npm-registry/:_authToken=${{ inputs.npm-gar-token }}" >> ${{ inputs.path }}/.npmrc
105
105
106
106
echo "@toptal:registry=https://registry.npmjs.org/" >> ${{ inputs.path }}/.npmrc &&
You can’t perform that action at this time.
0 commit comments