Skip to content

Commit

Permalink
fix: use node12 to be action runtime
Browse files Browse the repository at this point in the history
Signed-off-by: Liu Bowen <[email protected]>
  • Loading branch information
lbwa committed Aug 2, 2021
1 parent 506159a commit 0b72f7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
description: 'An request payload from Github Repository Dispatch Event'
required: true
runs:
using: 'node14'
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'git-branch'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prepare": "husky install",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,scss,sass,less,md}\"",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"build": "tsc --noEmit & esbuild src/index.ts --bundle --minify --platform=node --outdir=dist --target=node14 --tsconfig=tsconfig.json",
"build": "tsc --noEmit & esbuild src/index.ts --bundle --minify --platform=node --outdir=dist --target=node12 --tsconfig=tsconfig.json",
"watch": "tsc -p tsconfig.json -w"
},
"keywords": [
Expand Down

0 comments on commit 0b72f7b

Please sign in to comment.