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://sonik-boom71.github.io/Museum/).
14. Copy `DEMO LINK` to the PR description.

> To update you PR repeat steps 7-11.
25 changes: 25 additions & 0 deletions docs/README-uk.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Що всередині:
- index.html
- src/images/*
- src/styles/main.scss
- src/scripts/main.js

Як підключити у свій форк Mate Academy:
1. Скопіюй index.html у корінь репозиторію.
2. Замінити в repo вміст папки src на вміст із цього архіву.
3. Запусти:
npm i
npm start
4. Потім перевір:
npm run lint
npm test
5. Для деплою:
npm run deploy

У проєкті вже є:
- burger menu та close menu
- hero, events, featured, gallery, digest, footer
- smooth scroll
- favicon
- hover на зображеннях
- submit без 405 (через preventDefault + reset)
Loading
Loading