forked from angular-schule/ngx-deploy-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 15
50 lines (46 loc) · 1.15 KB
/
test-nx-next.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Test nx@next
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # daily at 00:00
jobs:
lint-next:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/migrate
with:
nx-version: 'next'
- name: Lint
run: npx nx lint ngx-deploy-npm --fix
build-next:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/migrate
with:
nx-version: 'next'
- name: Build
run: npx nx build ngx-deploy-npm
test-next:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/migrate
with:
nx-version: 'next'
- name: Test
run: npx nx test ngx-deploy-npm
e2e-next:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/migrate
with:
nx-version: 'next'
- name: E2E Test
run: npx nx e2e ngx-deploy-npm-e2e