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] operating-system: [ubuntu-latest, windows-latest]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@v2
- name: Set Node.js 10.x - name: Set Node.js 12.x
uses: actions/setup-node@master uses: actions/setup-node@v1
with: with:
node-version: 10.x node-version: 12.x
- name: npm install - name: npm install
run: npm install run: npm install

View File

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

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