Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/test.yml-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- name: Upload HTML report(backstop data)
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: report
path: backstop_data
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Check font styles. Use [IBM Plex Sans](https://fonts.google.com/specimen/IBM+Ple
11. `git push origin develop` - to send you code for PR.
12. Create a Pull Request (PR) from your branch `develop` to branch `master` of original repo.
13. Replace `<your_account>` with your Github username in the
[DEMO LINK](https://<your_account>.github.io/Museum/).
[DEMO LINK](https://lightdiller.github.io/Museum/).
14. Copy `DEMO LINK` to the PR description.

> To update you PR repeat steps 7-11.
21 changes: 21 additions & 0 deletions checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,24 @@
7. The button "tickets" should lead to the block with current events
8. The button "about us" should lead to the email digest
9. All the social icons in the footer should be clickable and open the social networks in a new tab




Github flow
Сделать Fork репозитория.
Клонировать форкнутый репозиторий.
(Ссылка на проект должна содержать твоё имя, но не mate-academy)
Выполнить npm install (или просто npm i).
Выполнить npm start.
Открыть ещё одно окно терминала для следующих шагов.
Выполнить git checkout -b develop — чтобы создать новую ветку и переключиться на неё.
Писать код в папке src.
Выполнить npm run lint и исправить ошибки стиля кода.
Выполнить npm run deploy, чтобы задеплоить решение на gh-pages.
Выполнить git add . && git commit -m 'solution', чтобы сохранить изменения.
Выполнить git push origin develop, чтобы отправить код для PR.
Создать Pull Request (PR) из ветки develop в ветку master оригинального репозитория.
Заменить <your_account> на свой Github username в
DEMO LINK.
Скопировать DEMO LINK в описание PR.
Loading
Loading