mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
ci: separate check-package job to check workflow (#330)
This commit is contained in:
25
.github/workflows/test.yaml
vendored
25
.github/workflows/test.yaml
vendored
@@ -5,31 +5,6 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
jobs:
|
||||
check-package:
|
||||
name: Check Package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
node-version: latest
|
||||
|
||||
- name: Setup Yarn
|
||||
uses: threeal/setup-yarn-action@v2.0.0
|
||||
with:
|
||||
version: stable
|
||||
|
||||
- name: Check Format
|
||||
run: |
|
||||
yarn format
|
||||
git diff --exit-code HEAD
|
||||
|
||||
- name: Check Lint
|
||||
run: yarn lint
|
||||
|
||||
test-package:
|
||||
name: Test Package
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user