mirror of
				https://git.mirrors.martin98.com/https://github.com/docker/setup-docker-action
				synced 2025-10-31 15:11:06 +08:00 
			
		
		
		
	Merge pull request #33 from crazy-max/update-yarn
chore: update yarn to 3.6.3
This commit is contained in:
		
						commit
						6a07d2066a
					
				| @ -1,2 +1,12 @@ | |||||||
| /coverage | /coverage | ||||||
| /node_modules | 
 | ||||||
|  | # Dependency directories | ||||||
|  | node_modules/ | ||||||
|  | jspm_packages/ | ||||||
|  | 
 | ||||||
|  | # yarn v2 | ||||||
|  | .yarn/cache | ||||||
|  | .yarn/unplugged | ||||||
|  | .yarn/build-state.yml | ||||||
|  | .yarn/install-state.gz | ||||||
|  | .pnp.* | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							| @ -1,2 +1,4 @@ | |||||||
|  | /.yarn/releases/** binary | ||||||
|  | /.yarn/plugins/** binary | ||||||
| /dist/** linguist-generated=true | /dist/** linguist-generated=true | ||||||
| /lib/** linguist-generated=true | /lib/** linguist-generated=true | ||||||
|  | |||||||
							
								
								
									
										66
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										66
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1,7 +1,5 @@ | |||||||
| node_modules | # https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore | ||||||
| lib |  | ||||||
| 
 | 
 | ||||||
| # Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore |  | ||||||
| # Logs | # Logs | ||||||
| logs | logs | ||||||
| *.log | *.log | ||||||
| @ -9,6 +7,7 @@ npm-debug.log* | |||||||
| yarn-debug.log* | yarn-debug.log* | ||||||
| yarn-error.log* | yarn-error.log* | ||||||
| lerna-debug.log* | lerna-debug.log* | ||||||
|  | .pnpm-debug.log* | ||||||
| 
 | 
 | ||||||
| # Diagnostic reports (https://nodejs.org/api/report.html) | # Diagnostic reports (https://nodejs.org/api/report.html) | ||||||
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||||||
| @ -19,34 +18,14 @@ pids | |||||||
| *.seed | *.seed | ||||||
| *.pid.lock | *.pid.lock | ||||||
| 
 | 
 | ||||||
| # Directory for instrumented libs generated by jscoverage/JSCover |  | ||||||
| lib-cov |  | ||||||
| 
 |  | ||||||
| # Coverage directory used by tools like istanbul | # Coverage directory used by tools like istanbul | ||||||
| coverage | coverage | ||||||
| *.lcov | *.lcov | ||||||
| 
 | 
 | ||||||
| # nyc test coverage |  | ||||||
| .nyc_output |  | ||||||
| 
 |  | ||||||
| # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) |  | ||||||
| .grunt |  | ||||||
| 
 |  | ||||||
| # Bower dependency directory (https://bower.io/) |  | ||||||
| bower_components |  | ||||||
| 
 |  | ||||||
| # node-waf configuration |  | ||||||
| .lock-wscript |  | ||||||
| 
 |  | ||||||
| # Compiled binary addons (https://nodejs.org/api/addons.html) |  | ||||||
| build/Release |  | ||||||
| 
 |  | ||||||
| # Dependency directories | # Dependency directories | ||||||
|  | node_modules/ | ||||||
| jspm_packages/ | jspm_packages/ | ||||||
| 
 | 
 | ||||||
| # TypeScript v1 declaration files |  | ||||||
| typings/ |  | ||||||
| 
 |  | ||||||
| # TypeScript cache | # TypeScript cache | ||||||
| *.tsbuildinfo | *.tsbuildinfo | ||||||
| 
 | 
 | ||||||
| @ -56,36 +35,19 @@ typings/ | |||||||
| # Optional eslint cache | # Optional eslint cache | ||||||
| .eslintcache | .eslintcache | ||||||
| 
 | 
 | ||||||
| # Optional REPL history |  | ||||||
| .node_repl_history |  | ||||||
| 
 |  | ||||||
| # Output of 'npm pack' |  | ||||||
| *.tgz |  | ||||||
| 
 |  | ||||||
| # Yarn Integrity file | # Yarn Integrity file | ||||||
| .yarn-integrity | .yarn-integrity | ||||||
| 
 | 
 | ||||||
| # dotenv environment variables file | # dotenv environment variable files | ||||||
| .env | .env | ||||||
| .env.test | .env.development.local | ||||||
|  | .env.test.local | ||||||
|  | .env.production.local | ||||||
|  | .env.local | ||||||
| 
 | 
 | ||||||
| # parcel-bundler cache (https://parceljs.org/) | # yarn v2 | ||||||
| .cache | .yarn/cache | ||||||
| 
 | .yarn/unplugged | ||||||
| # next.js build output | .yarn/build-state.yml | ||||||
| .next | .yarn/install-state.gz | ||||||
| 
 | .pnp.* | ||||||
| # nuxt.js build output |  | ||||||
| .nuxt |  | ||||||
| 
 |  | ||||||
| # vuepress build output |  | ||||||
| .vuepress/dist |  | ||||||
| 
 |  | ||||||
| # Serverless directories |  | ||||||
| .serverless/ |  | ||||||
| 
 |  | ||||||
| # FuseBox cache |  | ||||||
| .fusebox/ |  | ||||||
| 
 |  | ||||||
| # DynamoDB Local files |  | ||||||
| .dynamodb/ |  | ||||||
|  | |||||||
							
								
								
									
										6
									
								
								.prettierignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.prettierignore
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | # Dependency directories | ||||||
|  | node_modules/ | ||||||
|  | jspm_packages/ | ||||||
|  | 
 | ||||||
|  | # yarn v2 | ||||||
|  | .yarn/ | ||||||
							
								
								
									
										541
									
								
								.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										541
									
								
								.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										874
									
								
								.yarn/releases/yarn-3.6.3.cjs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										874
									
								
								.yarn/releases/yarn-3.6.3.cjs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										15
									
								
								.yarnrc.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.yarnrc.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | |||||||
|  | logFilters: | ||||||
|  |   - code: YN0013 | ||||||
|  |     level: discard | ||||||
|  |   - code: YN0019 | ||||||
|  |     level: discard | ||||||
|  |   - code: YN0076 | ||||||
|  |     level: discard | ||||||
|  | 
 | ||||||
|  | nodeLinker: node-modules | ||||||
|  | 
 | ||||||
|  | plugins: | ||||||
|  |   - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||||||
|  |     spec: "@yarnpkg/plugin-interactive-tools" | ||||||
|  | 
 | ||||||
|  | yarnPath: .yarn/releases/yarn-3.6.3.cjs | ||||||
| @ -4,10 +4,12 @@ ARG NODE_VERSION=16 | |||||||
| 
 | 
 | ||||||
| FROM node:${NODE_VERSION}-alpine AS base | FROM node:${NODE_VERSION}-alpine AS base | ||||||
| RUN apk add --no-cache cpio findutils git | RUN apk add --no-cache cpio findutils git | ||||||
|  | RUN yarn config set --home enableTelemetry 0 | ||||||
| WORKDIR /src | WORKDIR /src | ||||||
| 
 | 
 | ||||||
| FROM base AS deps | FROM base AS deps | ||||||
| RUN --mount=type=bind,target=.,rw \ | RUN --mount=type=bind,target=.,rw \ | ||||||
|  |   --mount=type=cache,target=/src/.yarn/cache \ | ||||||
|   --mount=type=cache,target=/src/node_modules \ |   --mount=type=cache,target=/src/node_modules \ | ||||||
|   yarn install && mkdir /vendor && cp yarn.lock /vendor |   yarn install && mkdir /vendor && cp yarn.lock /vendor | ||||||
| 
 | 
 | ||||||
| @ -28,6 +30,7 @@ EOT | |||||||
| 
 | 
 | ||||||
| FROM deps AS build | FROM deps AS build | ||||||
| RUN --mount=type=bind,target=.,rw \ | RUN --mount=type=bind,target=.,rw \ | ||||||
|  |   --mount=type=cache,target=/src/.yarn/cache \ | ||||||
|   --mount=type=cache,target=/src/node_modules \ |   --mount=type=cache,target=/src/node_modules \ | ||||||
|   yarn run build && mkdir /out && cp -Rf dist /out/ |   yarn run build && mkdir /out && cp -Rf dist /out/ | ||||||
| 
 | 
 | ||||||
| @ -48,6 +51,7 @@ EOT | |||||||
| 
 | 
 | ||||||
| FROM deps AS format | FROM deps AS format | ||||||
| RUN --mount=type=bind,target=.,rw \ | RUN --mount=type=bind,target=.,rw \ | ||||||
|  |   --mount=type=cache,target=/src/.yarn/cache \ | ||||||
|   --mount=type=cache,target=/src/node_modules \ |   --mount=type=cache,target=/src/node_modules \ | ||||||
|   yarn run format \ |   yarn run format \ | ||||||
|   && mkdir /out && find . -name '*.ts' -not -path './node_modules/*' | cpio -pdm /out |   && mkdir /out && find . -name '*.ts' -not -path './node_modules/*' | cpio -pdm /out | ||||||
| @ -57,11 +61,13 @@ COPY --from=format /out / | |||||||
| 
 | 
 | ||||||
| FROM deps AS lint | FROM deps AS lint | ||||||
| RUN --mount=type=bind,target=.,rw \ | RUN --mount=type=bind,target=.,rw \ | ||||||
|  |   --mount=type=cache,target=/src/.yarn/cache \ | ||||||
|   --mount=type=cache,target=/src/node_modules \ |   --mount=type=cache,target=/src/node_modules \ | ||||||
|   yarn run lint |   yarn run lint | ||||||
| 
 | 
 | ||||||
| FROM deps AS test | FROM deps AS test | ||||||
| RUN --mount=type=bind,target=.,rw \ | RUN --mount=type=bind,target=.,rw \ | ||||||
|  |   --mount=type=cache,target=/src/.yarn/cache \ | ||||||
|   --mount=type=cache,target=/src/node_modules \ |   --mount=type=cache,target=/src/node_modules \ | ||||||
|   yarn run test --coverageDirectory=/tmp/coverage |   yarn run test --coverageDirectory=/tmp/coverage | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										6
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										80
									
								
								dist/licenses.txt
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										80
									
								
								dist/licenses.txt
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -450,16 +450,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |||||||
| THE SOFTWARE. | THE SOFTWARE. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @vercel/ncc |  | ||||||
| MIT |  | ||||||
| Copyright 2018 ZEIT, Inc. |  | ||||||
| 
 |  | ||||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |  | ||||||
| 
 |  | ||||||
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |  | ||||||
| 
 |  | ||||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |  | ||||||
| 
 |  | ||||||
| async-retry | async-retry | ||||||
| MIT | MIT | ||||||
| The MIT License (MIT) | The MIT License (MIT) | ||||||
| @ -806,6 +796,26 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | |||||||
| IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | encoding | ||||||
|  | MIT | ||||||
|  | Copyright (c) 2012-2014 Andris Reinman | ||||||
|  | 
 | ||||||
|  | Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
|  | of this software and associated documentation files (the "Software"), to deal | ||||||
|  | in the Software without restriction, including without limitation the rights | ||||||
|  | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||||
|  | copies of the Software, and to permit persons to whom the Software is | ||||||
|  | furnished to do so, subject to the following conditions: | ||||||
|  | 
 | ||||||
|  | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||||
|  | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||||
|  | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||||
|  | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||||
|  | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||||
|  | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||||
|  | SOFTWARE. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| fs.realpath | fs.realpath | ||||||
| ISC | ISC | ||||||
| The ISC License | The ISC License | ||||||
| @ -901,6 +911,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |||||||
| THE SOFTWARE. | THE SOFTWARE. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | iconv-lite | ||||||
|  | MIT | ||||||
|  | Copyright (c) 2011 Alexander Shtuchkin | ||||||
|  | 
 | ||||||
|  | Permission is hereby granted, free of charge, to any person obtaining | ||||||
|  | a copy of this software and associated documentation files (the | ||||||
|  | "Software"), to deal in the Software without restriction, including | ||||||
|  | without limitation the rights to use, copy, modify, merge, publish, | ||||||
|  | distribute, sublicense, and/or sell copies of the Software, and to | ||||||
|  | permit persons to whom the Software is furnished to do so, subject to | ||||||
|  | the following conditions: | ||||||
|  | 
 | ||||||
|  | The above copyright notice and this permission notice shall be | ||||||
|  | included in all copies or substantial portions of the Software. | ||||||
|  | 
 | ||||||
|  | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||||||
|  | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||||||
|  | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||||||
|  | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||||||
|  | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||||||
|  | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||||||
|  | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| inflight | inflight | ||||||
| ISC | ISC | ||||||
| The ISC License | The ISC License | ||||||
| @ -1148,6 +1183,31 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | |||||||
| IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | safer-buffer | ||||||
|  | MIT | ||||||
|  | MIT License | ||||||
|  | 
 | ||||||
|  | Copyright (c) 2018 Nikita Skovoroda <chalkerx@gmail.com> | ||||||
|  | 
 | ||||||
|  | Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
|  | of this software and associated documentation files (the "Software"), to deal | ||||||
|  | in the Software without restriction, including without limitation the rights | ||||||
|  | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||||
|  | copies of the Software, and to permit persons to whom the Software is | ||||||
|  | furnished to do so, subject to the following conditions: | ||||||
|  | 
 | ||||||
|  | The above copyright notice and this permission notice shall be included in all | ||||||
|  | copies or substantial portions of the Software. | ||||||
|  | 
 | ||||||
|  | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||||
|  | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||||
|  | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||||
|  | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||||
|  | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||||
|  | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||||
|  | SOFTWARE. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| semver | semver | ||||||
| ISC | ISC | ||||||
| The ISC License | The ISC License | ||||||
|  | |||||||
| @ -20,6 +20,7 @@ | |||||||
|   ], |   ], | ||||||
|   "author": "CrazyMax", |   "author": "CrazyMax", | ||||||
|   "license": "Apache-2.0", |   "license": "Apache-2.0", | ||||||
|  |   "packageManager": "yarn@3.6.3", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/core": "^1.10.0", |     "@actions/core": "^1.10.0", | ||||||
|     "@docker/actions-toolkit": "^0.12.0-rc.1", |     "@docker/actions-toolkit": "^0.12.0-rc.1", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 CrazyMax
						CrazyMax