-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (53 loc) · 1.18 KB
/
nx.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
51
52
53
54
# Removed while this is in development
#name: Migrate NX
#
#on:
# schedule:
# - cron: 57 17 * * 3
# workflow_dispatch:
#
#env:
# NODE_VERSION: 18
#
#defaults:
# run:
# shell: pwsh
#
#jobs:
# prepare:
# name: Prepare Nx Branch
# uses: tobysmith568/actions/.github/workflows/nx-preparation.yml@main
# with:
# node_version: 18
# permissions:
# contents: write
#
# ci:
# name: Run CI
# needs:
# - prepare
# if: ${{ needs.prepare.outputs.should_continue }}
# uses: ./.github/workflows/ci.yml
# with:
# branch_name: ${{ needs.prepare.outputs.branch_name }}-broken # Broken the branch name to help the development of the nx shared steps
# secrets: inherit
#
# pr:
# name: Create pull request
# needs:
# - ci
# if: ${{ always() && needs.ci.result == 'failure' }}
# uses: tobysmith568/actions/.github/workflows/nx-pr.yml@main
# with:
# node_version: 18
# permissions:
# pull-requests: write
#
# merge:
# name: Merge Nx Branch
# needs:
# - ci
# if: ${{ always() && needs.ci.result == 'success' }}
# uses: tobysmith568/actions/.github/workflows/nx-merge.yml@main
# permissions:
# contents: write