Merge branch 'main' into feat-sha

This commit is contained in:
peaceiris 2020-10-12 15:25:20 +09:00
commit 3c30cf8942
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC
5 changed files with 338 additions and 1349 deletions

2
.prettierignore Normal file
View File

@ -0,0 +1,2 @@
node_modules/
lib/

View File

@ -262,7 +262,9 @@ Set `exclude_assets` to empty for including the `.github` directory to deploymen
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} # Recommended for this usage
# personal_token: ${{ secrets.PERSONAL_TOKEN }} # An alternative
# github_token: ${{ secrets.GITHUB_TOKEN }} # This does not work for this usage
exclude_assets: ''
```

1669
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -64,16 +64,16 @@
"@types/jest": "^26.0.14",
"@types/js-yaml": "^3.12.5",
"@types/node": "~12",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"@vercel/ncc": "^0.24.1",
"eslint": "^6.8.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.5.2",
"jest-circus": "^26.5.2",
"jest": "^26.5.3",
"jest-circus": "^26.5.3",
"js-yaml": "^3.14.0",
"lint-staged": "^10.4.0",
"prettier": "2.1.2",

View File

@ -4,7 +4,9 @@ import * as github from '@actions/github';
import * as io from '@actions/io';
import path from 'path';
import fs from 'fs';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const cpSpawnSync = require('child_process').spawnSync;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const cpexec = require('child_process').execFileSync;
import {Inputs} from './interfaces';
import {getHomeDir} from './utils';