refactor(ci): streamline CI workflow by removing unnecessary steps and updating job structure
CI / verify (push) Successful in 6m46s
CI / verify (push) Successful in 6m46s
This commit is contained in:
+13
-23
@@ -10,35 +10,25 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
verify:
|
verify:
|
||||||
name: Lint, Test, Build
|
|
||||||
runs-on: gitea-label
|
runs-on: gitea-label
|
||||||
env:
|
|
||||||
NEXT_PUBLIC_APP_ENV: test
|
container:
|
||||||
NEXT_TELEMETRY_DISABLED: "1"
|
image: node:24-bookworm
|
||||||
SENTRY_UPLOAD_SOURCEMAPS: "0"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Node.js
|
- uses: actions/checkout@v4
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 24
|
|
||||||
|
|
||||||
- name: Checkout
|
- run: corepack enable
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup pnpm
|
- uses: pnpm/action-setup@v4
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
with:
|
with:
|
||||||
version: 10.30.3
|
version: 10.30.3
|
||||||
|
|
||||||
- name: Install dependencies
|
- run: node -v
|
||||||
run: pnpm install --frozen-lockfile
|
- run: npm -v
|
||||||
|
- run: pnpm -v
|
||||||
|
|
||||||
- name: Lint
|
- run: pnpm install --frozen-lockfile
|
||||||
run: pnpm lint
|
- run: pnpm lint
|
||||||
|
- run: pnpm test
|
||||||
- name: Test
|
- run: pnpm build
|
||||||
run: pnpm test
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: pnpm build
|
|
||||||
|
|||||||
Reference in New Issue
Block a user