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:
|
||||
verify:
|
||||
name: Lint, Test, Build
|
||||
runs-on: gitea-label
|
||||
env:
|
||||
NEXT_PUBLIC_APP_ENV: test
|
||||
NEXT_TELEMETRY_DISABLED: "1"
|
||||
SENTRY_UPLOAD_SOURCEMAPS: "0"
|
||||
|
||||
container:
|
||||
image: node:24-bookworm
|
||||
|
||||
steps:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- run: corepack enable
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.30.3
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
- run: node -v
|
||||
- run: npm -v
|
||||
- run: pnpm -v
|
||||
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
|
||||
- name: Test
|
||||
run: pnpm test
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm lint
|
||||
- run: pnpm test
|
||||
- run: pnpm build
|
||||
|
||||
Reference in New Issue
Block a user