mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-24 18:39:54 +00:00
ci: Create seperate dev workflow checks
This commit is contained in:
parent
46187cd528
commit
57e49670a9
2 changed files with 23 additions and 2 deletions
2
.github/workflows/example.yml
vendored
2
.github/workflows/example.yml
vendored
|
@ -32,8 +32,6 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run format:check
|
|
||||||
- run: npm run lint
|
|
||||||
- run: npm run package
|
- run: npm run package
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
23
.github/workflows/test.yml
vendored
Normal file
23
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Run tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
cache: 'npm'
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build
|
||||||
|
- run: npm run format:check
|
||||||
|
- run: npm run lint
|
||||||
|
- run: npm run package
|
||||||
|
# FIXME Token doesn't get passed correctly
|
||||||
|
# - run: npm run test
|
Loading…
Reference in a new issue