Skip to content

Commit 3861f0d

Browse files
committed
fix: Fix CI/CD error
1 parent 07fb0d1 commit 3861f0d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout source code.
12-
uses: actions/checkout@main
12+
uses: actions/checkout@v2
13+
14+
- name: Cache node modules
15+
uses: actions/cache@v3
16+
with:
17+
path: node_modules
18+
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
19+
restore-keys: |
20+
${{ runner.OS }}-build-
21+
${{ runner.OS }}-
1322
1423
- name: Install Dependencies
15-
run: npm install
24+
run: npm ci
1625

1726
- name: Build
1827
run: npm run build

src/components/atoms/SubTitle.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
import { DescriptionText, SubtitleText, SubtitleWrapper } from "../../styles/subtitle";
23

34
type SubtitleProps = {

0 commit comments

Comments
 (0)