1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-21 22:19:24 +00:00

Update NPM packages (#75)

* Update NPM packages

* Format using prettier

* Update node version in workflow

* Add .gitattributes
This commit is contained in:
Konrad Pabjan 2020-03-26 16:39:48 +01:00 committed by GitHub
parent a93e9d979a
commit 4ff1108c39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6328 additions and 4895 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
* text=auto eol=lf

View file

@ -9,12 +9,12 @@ jobs:
operating-system: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Set Node.js 10.x
uses: actions/setup-node@master
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 12.x
- name: npm install
run: npm install

View file

@ -5,21 +5,13 @@ import path = require('path');
const toolDir = path.join(
__dirname,
'runner',
path.join(
Math.random()
.toString(36)
.substring(7)
),
path.join(Math.random().toString(36).substring(7)),
'tools'
);
const tempDir = path.join(
__dirname,
'runner',
path.join(
Math.random()
.toString(36)
.substring(7)
),
path.join(Math.random().toString(36).substring(7)),
'temp'
);

7694
dist/index.js vendored

File diff suppressed because it is too large Load diff

3484
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,26 +24,26 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.3",
"semver": "^6.1.1"
"semver": "^7.1.3"
},
"devDependencies": {
"@actions/io": "^1.0.2",
"@actions/tool-cache": "^1.3.2",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.29",
"@types/semver": "^6.2.1",
"@zeit/ncc": "^0.20.5",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest-circus": "^24.9.0",
"prettier": "^1.19.1",
"ts-jest": "^24.3.0",
"@actions/tool-cache": "^1.3.3",
"@types/jest": "^25.1.4",
"@types/node": "^12.12.31",
"@types/semver": "^7.1.0",
"@zeit/ncc": "^0.22.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"jest-circus": "^25.1.0",
"prettier": "^2.0.2",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"
},
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "npm run build && npm run format"
"pre-commit": "npm run build && npm run format-check"
}
}
}