diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f000d5..221b1a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,6 +45,7 @@ jobs: run: npm run format-check # Test end-to-end by uploading two artifacts and then downloading them + # Once upload-artifact v2 is out of preview, switch over - name: Create artifacts run: | mkdir -p path/to/artifact-A diff --git a/package-lock.json b/package-lock.json index 83bb9bb..686998c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,13 +5,27 @@ "requires": true, "dependencies": { "@actions/artifact": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.1.0.tgz", - "integrity": "sha512-UOGv9FXfNuzs7v9JzX++h2j2/0lqhKp2yso0LwbaNsUTPyemLr5v4BUZj5R7d292jQvpuhh/+Psgwepc3g/DDg==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.2.0.tgz", + "integrity": "sha512-JR+Y8u4xLR16Oi1qQy4nAdEjfgdZL7sgtMO2Ni020dAV0ji7E71NibCpp3Pfm5GXzvdDQ0FZ6XwUoyS1RPXL9g==", "dev": true, "requires": { "@actions/core": "^1.2.1", - "@actions/http-client": "^1.0.6" + "@actions/http-client": "^1.0.6", + "@types/tmp": "^0.1.0", + "tmp": "^0.1.0", + "tmp-promise": "^2.0.2" + }, + "dependencies": { + "tmp": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz", + "integrity": "sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw==", + "dev": true, + "requires": { + "rimraf": "^2.6.3" + } + } } }, "@actions/core": { @@ -170,6 +184,12 @@ "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", "dev": true }, + "@types/tmp": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.1.0.tgz", + "integrity": "sha512-6IwZ9HzWbCq6XoQWhxLpDjuADodH/MKXRUIDFudvgjcVdjFknvmR+DNsoUeer4XPrEnrZs04Jj+kfV9pFsrhmA==", + "dev": true + }, "@typescript-eslint/eslint-plugin": { "version": "2.20.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.20.0.tgz", @@ -2450,6 +2470,26 @@ "os-tmpdir": "~1.0.2" } }, + "tmp-promise": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/tmp-promise/-/tmp-promise-2.0.2.tgz", + "integrity": "sha512-zl71nFWjPKW2KXs+73gEk8RmqvtAeXPxhWDkTUoa3MSMkjq3I+9OeknjF178MQoMYsdqL730hfzvNfEkePxq9Q==", + "dev": true, + "requires": { + "tmp": "0.1.0" + }, + "dependencies": { + "tmp": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz", + "integrity": "sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw==", + "dev": true, + "requires": { + "rimraf": "^2.6.3" + } + } + } + }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", diff --git a/package.json b/package.json index 986c209..430d6d7 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/actions/download-artifact#readme", "devDependencies": { - "@actions/artifact": "^0.1.0", + "@actions/artifact": "^0.2.0", "@actions/core": "^1.2.2", "@typescript-eslint/parser": "^2.20.0", "@zeit/ncc": "^0.21.1",