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