Skip to content

Feat/cp 68 optimize next build#54

Open
Ethan225300 wants to merge 1 commit intodevfrom
feat/CP-68-Optimize-next-build
Open

Feat/cp 68 optimize next build#54
Ethan225300 wants to merge 1 commit intodevfrom
feat/CP-68-Optimize-next-build

Conversation

@Ethan225300
Copy link

@Ethan225300 Ethan225300 commented Aug 5, 2024

feat: Optimize next build

  • Add cache into the pipeline
    Resolve CP-68.
image

@Ethan225300 Ethan225300 force-pushed the feat/CP-68-Optimize-next-build branch 6 times, most recently from 7e3a920 to 38b2347 Compare August 5, 2024 13:45
${{ runner.os }}-node_modules-
${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}

- name: List cached files before install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need list files?

- name: Install dependencies
run: yarn install

- name: List cached files after install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need list files?

run: yarn test
- name: build code

- name: List cached files before build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need list files?

- name: Build code
run: yarn build

- name: List cached files after build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need list files?

- Add cache into the pipeline
Resolve CP-68.
@Ethan225300 Ethan225300 force-pushed the feat/CP-68-Optimize-next-build branch from 1603e2b to 57e68f9 Compare August 18, 2024 19:48
@Ethan225300 Ethan225300 requested a review from Chris-Wang August 18, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants