Skip to content

Commit f9e61d3

Browse files
committed
refactor check workflow order
1 parent 48cf5b0 commit f9e61d3

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/actions/build/action.yml renamed to .github/actions/local/build/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ description: Installs dependencies and builds OpenNext
33
runs:
44
using: 'composite'
55
steps:
6-
- name: Install dependencies
7-
run: pnpm install
8-
shell: bash
9-
106
# Build only the @opennextjs/aws package + its monorepo dependencies
117
- name: Build
128
shell: bash
File renamed without changes.

.github/actions/setup/action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
node-version: 20.19.4
1717
cache: "pnpm"
1818
registry-url: "https://registry.npmjs.org"
19-
19+
2020
# Get pnpm store path so we can cache it
2121
- name: Get pnpm store directory
2222
shell: bash
@@ -29,4 +29,8 @@ runs:
2929
path: ${{ env.STORE_PATH }}
3030
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3131
restore-keys: |
32-
${{ runner.os }}-pnpm-store-
32+
${{ runner.os }}-pnpm-store-
33+
34+
- name: Install dependencies
35+
run: pnpm install
36+
shell: bash

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818
- uses: ./.github/actions/setup
19-
- uses: ./.github/actions/build
2019
- uses: ./.github/actions/lint
2120
- uses: ./.github/actions/test
22-
- uses: ./.github/actions/e2e-local
21+
- uses: ./.github/actions/local/build
22+
- uses: ./.github/actions/local/e2e

0 commit comments

Comments
 (0)