Fix CI
This commit is contained in:
6
.github/workflows/ci-chromatic.yaml
vendored
6
.github/workflows/ci-chromatic.yaml
vendored
@ -13,9 +13,15 @@ jobs:
|
|||||||
REACT_APP_AUTH_URL: http://127.0.0.1:3000/auth
|
REACT_APP_AUTH_URL: http://127.0.0.1:3000/auth
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
ref: ${{ github.head_ref || github.ref_name }}
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'pull_request_target'
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
5
.github/workflows/ci-docs.yaml
vendored
5
.github/workflows/ci-docs.yaml
vendored
@ -9,8 +9,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
ref: ${{ github.head_ref || github.ref_name }}
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'pull_request_target'
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
5
.github/workflows/ci-front.yaml
vendored
5
.github/workflows/ci-front.yaml
vendored
@ -12,8 +12,13 @@ jobs:
|
|||||||
REACT_APP_AUTH_URL: http://127.0.0.1:3000/auth
|
REACT_APP_AUTH_URL: http://127.0.0.1:3000/auth
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
ref: ${{ github.head_ref || github.ref_name }}
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
if: github.event_name == 'pull_request_target'
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user