mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-26 07:44:23 +00:00
ci: merge test-package
job to test
workflow
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
d5a874ef77
commit
c6b2486a0e
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -24,5 +24,8 @@ jobs:
|
|||||||
- name: Check Lint
|
- name: Check Lint
|
||||||
run: pnpm lint
|
run: pnpm lint
|
||||||
|
|
||||||
|
- name: Test Package
|
||||||
|
run: pnpm test
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
run: pnpm build && git diff --exit-code HEAD
|
run: pnpm build && git diff --exit-code HEAD
|
||||||
|
16
.github/workflows/test.yaml
vendored
16
.github/workflows/test.yaml
vendored
@ -5,22 +5,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
jobs:
|
jobs:
|
||||||
test-package:
|
|
||||||
name: Test Package
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout Project
|
|
||||||
uses: actions/checkout@v4.2.2
|
|
||||||
|
|
||||||
- name: Setup pnpm
|
|
||||||
uses: threeal/setup-pnpm-action@v1.0.0
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Test Package
|
|
||||||
run: pnpm test
|
|
||||||
|
|
||||||
test-action:
|
test-action:
|
||||||
name: Test Action
|
name: Test Action
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
Loading…
Reference in New Issue
Block a user