mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-21 16:31:55 +00:00
updated workflow
This commit is contained in:
parent
8f214967d8
commit
2ce5582194
1 changed files with 63 additions and 62 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
|
@ -2,9 +2,9 @@ name: Style and build test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tsc:
|
tsc:
|
||||||
|
|
@ -22,6 +22,7 @@ jobs:
|
||||||
- run: pnpm i
|
- run: pnpm i
|
||||||
- run: npx tsc
|
- run: npx tsc
|
||||||
eslint:
|
eslint:
|
||||||
|
needs: tsc
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -36,6 +37,7 @@ jobs:
|
||||||
- run: pnpm i
|
- run: pnpm i
|
||||||
- run: pnpm run eslint
|
- run: pnpm run eslint
|
||||||
prettier:
|
prettier:
|
||||||
|
needs: tsc
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -49,8 +51,8 @@ jobs:
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- run: pnpm i
|
- run: pnpm i
|
||||||
- run: pnpm run prettier
|
- run: pnpm run prettier
|
||||||
test:
|
build-test:
|
||||||
needs: eslint
|
needs: [eslint, prettier, tsc]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -64,4 +66,3 @@ jobs:
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- run: pnpm i
|
- run: pnpm i
|
||||||
- run: pnpm run test
|
- run: pnpm run test
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue