mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-22 01:46:04 +00:00
style: Run prettier on everything
This commit is contained in:
parent
8c63dff97b
commit
024f69ce91
3 changed files with 28 additions and 16 deletions
16
.github/workflows/example.yml
vendored
16
.github/workflows/example.yml
vendored
|
@ -13,13 +13,13 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
nextflow_version:
|
||||
- "21.10.3"
|
||||
- "22.04"
|
||||
- "22.03.1-edge"
|
||||
- "latest"
|
||||
- "latest-stable"
|
||||
- "latest-edge"
|
||||
- "latest-everything"
|
||||
- '21.10.3'
|
||||
- '22.04'
|
||||
- '22.03.1-edge'
|
||||
- 'latest'
|
||||
- 'latest-stable'
|
||||
- 'latest-edge'
|
||||
- 'latest-everything'
|
||||
all_distribution:
|
||||
- true
|
||||
- false
|
||||
|
@ -29,7 +29,7 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
cache: "npm"
|
||||
cache: 'npm'
|
||||
- run: npm ci && npm run build
|
||||
- uses: ./
|
||||
with:
|
||||
|
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
cache: "npm"
|
||||
cache: 'npm'
|
||||
- run: npm ci && npm run build
|
||||
- uses: JasonEtco/build-and-tag-action@v1
|
||||
env:
|
||||
|
|
26
package.json
26
package.json
|
@ -5,8 +5,8 @@
|
|||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier --write '**/*.ts'",
|
||||
"format-check": "prettier --check '**/*.ts'",
|
||||
"format": "prettier --write '**/*'",
|
||||
"format-check": "prettier --check '**/*'",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"package": "ncc build --source-map --license LICENSE",
|
||||
"test": "ava",
|
||||
|
@ -16,16 +16,28 @@
|
|||
"type": "git",
|
||||
"url": "git+https://github.com/nf-core/setup-nextflow.git"
|
||||
},
|
||||
"keywords": ["actions", "node", "setup"],
|
||||
"keywords": [
|
||||
"actions",
|
||||
"node",
|
||||
"setup"
|
||||
],
|
||||
"author": "nf-core",
|
||||
"ava": {
|
||||
"extensions": ["ts"],
|
||||
"extensions": [
|
||||
"ts"
|
||||
],
|
||||
"rewritePaths": {
|
||||
"src/": "lib/"
|
||||
},
|
||||
"require": ["ts-node/register/transpile-only"],
|
||||
"files": ["test/**/*.ts"],
|
||||
"source": ["src/**/*.ts"],
|
||||
"require": [
|
||||
"ts-node/register/transpile-only"
|
||||
],
|
||||
"files": [
|
||||
"test/**/*.ts"
|
||||
],
|
||||
"source": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"concurrency": 1,
|
||||
"serial": true,
|
||||
"powerAssert": true
|
||||
|
|
Loading…
Reference in a new issue