Skip to content

Commit 6d9ebbf

Browse files
committed
add tusk solution 2
1 parent 631b25d commit 6d9ebbf

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

.github/workflows/test.yml-template

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [20.x]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm install
23+
- run: npm test
24+
- name: Upload HTML report(backstop data)
25+
if: ${{ always() }}
26+
uses: actions/upload-artifact@v2
27+
with:
28+
name: report
29+
path: backstop_data

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
"keywords": [],
1818
"author": "Mate Academy",
1919
"license": "GPL-3.0",
20-
"dependencies": {},
2120
"devDependencies": {
2221
"@linthtml/linthtml": "^0.9.6",
2322
"@mate-academy/backstop-config": "latest",
2423
"@mate-academy/bemlint": "latest",
2524
"@mate-academy/linthtml-config": "latest",
26-
"@mate-academy/scripts": "^1.8.6",
25+
"@mate-academy/scripts": "^1.9.12",
2726
"@mate-academy/stylelint-config": "latest",
2827
"backstopjs": "6.3.23",
2928
"jest": "^29.7.0",

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</head>
3232
<body>
3333
<header class="header">
34-
<a href="http://127.0.0.1:5500/src/index.html">
34+
<a href="https://127.0.0.1:5500/src/index.html">
3535
<img
3636
class="img"
3737
src="images/logo.png"

src/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body {
88
.header {
99
display: flex;
1010
width: 1200px;
11-
background-color: fff;
11+
background-color: #fff;
1212
justify-content: space-between;
1313

1414
.img {
@@ -61,5 +61,5 @@ a:hover {
6161
width: 100%;
6262
height: 4px;
6363
border-radius: 8px;
64-
background-color: b#00ACDC;
64+
background-color: #00ACDC;
6565
}

0 commit comments

Comments
 (0)