mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-21 17:36:04 +00:00
build: Add ncc
npm run build works now without global install
This commit is contained in:
parent
16725d6eeb
commit
1b07a3f172
4 changed files with 23 additions and 8 deletions
1
.github/workflows/example.yml
vendored
1
.github/workflows/example.yml
vendored
|
@ -30,7 +30,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
cache: "npm"
|
||||
- run: npm i -g @vercel/ncc
|
||||
- run: npm ci && npm run build
|
||||
- uses: ./
|
||||
with:
|
||||
|
|
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
|
@ -13,7 +13,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
cache: "npm"
|
||||
- run: npm i -g @vercel/ncc
|
||||
- run: npm ci && npm run build
|
||||
- uses: JasonEtco/build-and-tag-action@v1
|
||||
env:
|
||||
|
|
28
package-lock.json
generated
28
package-lock.json
generated
|
@ -19,6 +19,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@tsconfig/node16": "^1.0.3",
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"typescript": "^4.7.3"
|
||||
}
|
||||
},
|
||||
|
@ -191,9 +192,18 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "17.0.44",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.44.tgz",
|
||||
"integrity": "sha512-gWYiOlu6Y4oyLYBvsJAPlwHbC8H4tX+tLsHy6Ee976wedwwZKrG2hFl3Y/HiH6bIyLTbDWQexQF/ohwKkOpUCg=="
|
||||
"version": "17.0.45",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz",
|
||||
"integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw=="
|
||||
},
|
||||
"node_modules/@vercel/ncc": {
|
||||
"version": "0.34.0",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.34.0.tgz",
|
||||
"integrity": "sha512-G9h5ZLBJ/V57Ou9vz5hI8pda/YQX5HQszCs3AmIus3XzsmRn/0Ptic5otD3xVST8QLKk7AMk7AqpsyQGN7MZ9A==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"ncc": "dist/ncc/cli.js"
|
||||
}
|
||||
},
|
||||
"node_modules/async-retry": {
|
||||
"version": "1.3.3",
|
||||
|
@ -509,9 +519,15 @@
|
|||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "17.0.44",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.44.tgz",
|
||||
"integrity": "sha512-gWYiOlu6Y4oyLYBvsJAPlwHbC8H4tX+tLsHy6Ee976wedwwZKrG2hFl3Y/HiH6bIyLTbDWQexQF/ohwKkOpUCg=="
|
||||
"version": "17.0.45",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz",
|
||||
"integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw=="
|
||||
},
|
||||
"@vercel/ncc": {
|
||||
"version": "0.34.0",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.34.0.tgz",
|
||||
"integrity": "sha512-G9h5ZLBJ/V57Ou9vz5hI8pda/YQX5HQszCs3AmIus3XzsmRn/0Ptic5otD3xVST8QLKk7AMk7AqpsyQGN7MZ9A==",
|
||||
"dev": true
|
||||
},
|
||||
"async-retry": {
|
||||
"version": "1.3.3",
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@tsconfig/node16": "^1.0.3",
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"typescript": "^4.7.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue