mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 18:09:55 +00:00
Compare commits
36 commits
5fc57fbcc8
...
8d3c60ecae
Author | SHA1 | Date | |
---|---|---|---|
8d3c60ecae | |||
cf6c080d16 | |||
|
a6ef26ef91 | ||
|
ddc559940b | ||
2d0506b107 | |||
|
dd43f5dd44 | ||
37eac33a2f | |||
8386b64e3f | |||
|
1d9e673e1c | ||
|
c53038ce81 | ||
|
69d0a2e2bb | ||
|
1077f7d81a | ||
|
a9e0acf99e | ||
|
127c2d35bf | ||
|
490fce72ae | ||
|
e184ab334e | ||
|
240e29784e | ||
|
b8a8efad8f | ||
|
faac54d999 | ||
|
a6aa6d8977 | ||
|
d74e7c3fff | ||
|
6181fed9fb | ||
|
fbf5b79d82 | ||
|
4dabafeac9 | ||
|
5ebbc8c7d2 | ||
|
c161ca611c | ||
|
102f83a10b | ||
|
d4c13f548c | ||
|
584528bc97 | ||
|
594dc72afe | ||
|
4dfabfd9f5 | ||
|
583db7af0d | ||
|
76c17a2565 | ||
|
5e9d0e3230 | ||
|
086207c662 | ||
|
3aac76ae9f |
8 changed files with 3667 additions and 2118 deletions
8
.github/renovate.json5
vendored
Normal file
8
.github/renovate.json5
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"github>nf-core/ops//.github/renovate/default.json5",
|
||||||
|
"config:recommended",
|
||||||
|
"schedule:weekly"
|
||||||
|
]
|
||||||
|
}
|
14
.github/workflows/example.yml
vendored
14
.github/workflows/example.yml
vendored
|
@ -29,15 +29,15 @@ jobs:
|
||||||
- false
|
- false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run package
|
- run: npm run package
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4
|
||||||
if: ${{ env.ACT }}
|
if: ${{ env.ACT }}
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
@ -51,16 +51,16 @@ jobs:
|
||||||
example-maximized-build-space:
|
example-maximized-build-space:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: easimon/maximize-build-space@v7
|
- uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c # v10
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run package
|
- run: npm run package
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4
|
||||||
if: ${{ env.ACT}}
|
if: ${{ env.ACT}}
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
@ -8,8 +8,8 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
@ -17,6 +17,6 @@ jobs:
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run package
|
- run: npm run package
|
||||||
- run: sed -i 's%lib/src/main.js%dist/index.js%' package.json
|
- run: sed -i 's%lib/src/main.js%dist/index.js%' package.json
|
||||||
- uses: JasonEtco/build-and-tag-action@v1
|
- uses: JasonEtco/build-and-tag-action@dd5e4991048c325f6d85b4155e586fc211c644da # v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -13,8 +13,8 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
@ -26,6 +26,6 @@ jobs:
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
5695
package-lock.json
generated
5695
package-lock.json
generated
File diff suppressed because it is too large
Load diff
42
package.json
42
package.json
|
@ -52,31 +52,31 @@
|
||||||
"@actions/github": "^6.0.0",
|
"@actions/github": "^6.0.0",
|
||||||
"@actions/tool-cache": "^2.0.1",
|
"@actions/tool-cache": "^2.0.1",
|
||||||
"@octokit/plugin-throttling": "^8.1.3",
|
"@octokit/plugin-throttling": "^8.1.3",
|
||||||
"@types/node": "^17.0.44",
|
"@types/node": "^20.0.0",
|
||||||
"async-retry": "^1.3.3",
|
"async-retry": "^1.3.3",
|
||||||
"semver": "^7.3.7"
|
"semver": "^7.3.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ava/typescript": "^3.0.1",
|
"@ava/typescript": "4.1.0",
|
||||||
"@tsconfig/node16": "^1.0.3",
|
"@tsconfig/node16": "16.1.1",
|
||||||
"@types/async-retry": "^1.4.5",
|
"@types/async-retry": "1.4.8",
|
||||||
"@types/node": "^18.11.0",
|
"@types/node": "20.11.24",
|
||||||
"@types/semver": "^7.3.13",
|
"@types/semver": "7.5.8",
|
||||||
"@typescript-eslint/parser": "^5.42.1",
|
"@typescript-eslint/eslint-plugin": "7.1.0",
|
||||||
"@vercel/ncc": "^0.34.0",
|
"@typescript-eslint/parser": "7.1.0",
|
||||||
"ava": "^5.0.1",
|
"@vercel/ncc": "0.38.1",
|
||||||
"c8": "^8.0.1",
|
"ava": "6.1.2",
|
||||||
"eslint": "^8.27.0",
|
"c8": "9.1.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint": "8.57.0",
|
||||||
"eslint-plugin-ava": "^13.2.0",
|
"eslint-config-prettier": "9.1.0",
|
||||||
"eslint-plugin-github": "^4.4.1",
|
"eslint-plugin-ava": "14.0.0",
|
||||||
"eslint-plugin-jest": "^27.1.5",
|
"eslint-plugin-github": "4.10.2",
|
||||||
"eslint-plugin-simple-import-sort": "^8.0.0",
|
"eslint-plugin-simple-import-sort": "12.0.0",
|
||||||
"husky": "^9.0.10",
|
"husky": "9.0.11",
|
||||||
"lint-staged": "^15.2.1",
|
"lint-staged": "15.2.2",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "3.2.5",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "10.9.2",
|
||||||
"typescript": "^4.7.3"
|
"typescript": "5.3.3"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,ts}": "eslint --cache --fix",
|
"*.{js,ts}": "eslint --cache --fix",
|
||||||
|
|
|
@ -87,9 +87,8 @@ export async function* pull_releases(
|
||||||
export async function pull_latest_stable_release(
|
export async function pull_latest_stable_release(
|
||||||
ok: InstanceType<typeof GitHub>
|
ok: InstanceType<typeof GitHub>
|
||||||
): Promise<NextflowRelease> {
|
): Promise<NextflowRelease> {
|
||||||
const { data: stable_release } = await ok.rest.repos.getLatestRelease(
|
const { data: stable_release } =
|
||||||
NEXTFLOW_REPO
|
await ok.rest.repos.getLatestRelease(NEXTFLOW_REPO)
|
||||||
)
|
|
||||||
|
|
||||||
return nextflow_release(stable_release)
|
return nextflow_release(stable_release)
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
|
"moduleResolution": "Node",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
|
|
Loading…
Reference in a new issue