ci: upgrade freebsd image
This commit is contained in:
parent
498c5af4ec
commit
ea4cefac48
4 changed files with 11 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
freebsd_instance:
|
||||
image: freebsd-12-1-release-amd64
|
||||
image: freebsd-12-2-release-amd64
|
||||
|
||||
task:
|
||||
name: FreeBSD 12.1
|
||||
name: FreeBSD 12.2
|
||||
env:
|
||||
DEBUG: 'napi:*'
|
||||
setup_script:
|
||||
|
|
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
_
|
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn lint-staged && cargo fmt --all
|
|
@ -24,8 +24,10 @@
|
|||
"format:source": "prettier --config ./package.json --write './**/*.{js,ts}'",
|
||||
"format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'",
|
||||
"lint": "eslint -c .eslintrc.yml './cli/**/*.ts' './test_module/**/*.{ts,js}'",
|
||||
"prepublishOnly": "npm run build",
|
||||
"test": "ava"
|
||||
"prepublishOnly": "npm run build && pinst --disable",
|
||||
"test": "ava",
|
||||
"postinstall": "husky install",
|
||||
"postpublish": "pinst --enable"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/napi-rs/napi-rs/issues"
|
||||
|
|
Loading…
Reference in a new issue