9
.github/workflows/ci-chromatic.yaml
vendored
9
.github/workflows/ci-chromatic.yaml
vendored
@ -15,6 +15,15 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
- name: Check for redundant workflow run
|
||||||
|
run: |
|
||||||
|
HEAD_SHA=$(git rev-parse HEAD^)
|
||||||
|
if [ "$HEAD_SHA" != "${{ github.event.pull_request.head.sha }}" ]; then
|
||||||
|
echo "HEAD SHA and Pull Request HEAD SHA do not match, cancelling run"
|
||||||
|
echo "GitHub has scheduled a newer workflow run already."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
10
.github/workflows/ci-docs.yaml
vendored
10
.github/workflows/ci-docs.yaml
vendored
@ -9,6 +9,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
- name: Check for redundant workflow run
|
||||||
|
run: |
|
||||||
|
HEAD_SHA=$(git rev-parse HEAD^)
|
||||||
|
if [ "$HEAD_SHA" != "${{ github.event.pull_request.head.sha }}" ]; then
|
||||||
|
echo "HEAD SHA and Pull Request HEAD SHA do not match, cancelling run"
|
||||||
|
echo "GitHub has scheduled a newer workflow run already."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
10
.github/workflows/ci-front.yaml
vendored
10
.github/workflows/ci-front.yaml
vendored
@ -12,6 +12,16 @@ 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
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
- name: Check for redundant workflow run
|
||||||
|
run: |
|
||||||
|
HEAD_SHA=$(git rev-parse HEAD^)
|
||||||
|
if [ "$HEAD_SHA" != "${{ github.event.pull_request.head.sha }}" ]; then
|
||||||
|
echo "HEAD SHA and Pull Request HEAD SHA do not match, cancelling run"
|
||||||
|
echo "GitHub has scheduled a newer workflow run already."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
10
.github/workflows/ci-server.yaml
vendored
10
.github/workflows/ci-server.yaml
vendored
@ -9,6 +9,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
- name: Check for redundant workflow run
|
||||||
|
run: |
|
||||||
|
HEAD_SHA=$(git rev-parse HEAD^)
|
||||||
|
if [ "$HEAD_SHA" != "${{ github.event.pull_request.head.sha }}" ]; then
|
||||||
|
echo "HEAD SHA and Pull Request HEAD SHA do not match, cancelling run"
|
||||||
|
echo "GitHub has scheduled a newer workflow run already."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
import { boolean, select, text, withKnobs } from '@storybook/addon-knobs';
|
import { text, withKnobs } from '@storybook/addon-knobs';
|
||||||
import { expect, jest } from '@storybook/jest';
|
import { expect, jest } from '@storybook/jest';
|
||||||
import type { Meta, StoryObj } from '@storybook/react';
|
import type { Meta, StoryObj } from '@storybook/react';
|
||||||
import { userEvent, within } from '@storybook/testing-library';
|
import { userEvent, within } from '@storybook/testing-library';
|
||||||
|
|||||||
Reference in New Issue
Block a user