style: Run prettier on everything

This commit is contained in:
Edmund Miller 2022-11-12 23:27:57 -06:00 committed by Thomas A. Christensen II
parent 8c63dff97b
commit 024f69ce91
3 changed files with 28 additions and 16 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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