-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
15 changed files
with
5,051 additions
and
94 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docs/ @vtex-apps/technical-writers | ||
messages/ @vtex-apps/localization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#### What problem is this solving? | ||
|
||
<!--- What is the motivation and context for this change? --> | ||
|
||
#### How to test it? | ||
|
||
<!--- Don't forget to add a link to a Workspace where this branch is linked --> | ||
|
||
[Workspace](Link goes here!) | ||
|
||
#### Screenshots or example usage: | ||
|
||
<!--- Add some images or gifs to showcase changes in behaviour or layout. Example: before and after images --> | ||
|
||
#### Describe alternatives you've considered, if any. | ||
|
||
<!--- Optional --> | ||
|
||
#### Related to / Depends on | ||
|
||
<!--- Optional --> | ||
|
||
#### How does this PR make you feel? [:link:](http://giphy.com/) | ||
|
||
<!-- Go to http://giphy.com/ and pick a gif that represents how this PR makes you feel --> | ||
|
||
![](put .gif link here - can be found under "advanced" on giphy) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Danger actions | ||
'on': | ||
pull_request: | ||
types: [opened, edited, reopened, synchronize, assigned, unassigned, review_requested, review_request_removed] | ||
jobs: | ||
danger-ci: | ||
name: Danger CI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: 12.x | ||
env: | ||
RUNNER_TEMP: /tmp | ||
- name: yarn install | ||
run: yarn install | ||
- name: Danger CI | ||
uses: vtex/danger@master | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
REQUIRE_CHANGELOG_VERSION: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: IO actions | ||
'on': | ||
pull_request: | ||
jobs: | ||
io-app-test: | ||
name: IO app test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: 12.x | ||
env: | ||
RUNNER_TEMP: /tmp | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: 'echo "::set-output name=dir::$(yarn cache dir)"' | ||
- uses: actions/cache@v1 | ||
id: yarn-cache | ||
with: | ||
path: '${{ steps.yarn-cache-dir-path.outputs.dir }}' | ||
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}" | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Run test on every builder directory | ||
uses: vtex/action-io-app-test@master | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: 12.x | ||
env: | ||
RUNNER_TEMP: /tmp | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: 'echo "::set-output name=dir::$(yarn cache dir)"' | ||
- uses: actions/cache@v1 | ||
id: yarn-cache | ||
with: | ||
path: '${{ steps.yarn-cache-dir-path.outputs.dir }}' | ||
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}" | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Lint project | ||
uses: vtex/action-lint@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
import { render } from '@vtex/test-tools/react' | ||
|
||
import Greeting from './Greeting' | ||
|
||
test('greets Fred', () => { | ||
const { queryByText } = render(<Greeting name="Fred" />) | ||
|
||
expect(queryByText('Hey, Fred')).toBeInTheDocument() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
|
||
type Props = { | ||
name: string | ||
} | ||
|
||
function Greeting({ name }: Props) { | ||
return <div>Hey, {name}</div> | ||
} | ||
|
||
export default Greeting |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.