mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-01 06:09:07 +08:00
ci: use yarn test:ci in integrity-check; remove redundant integrity.yml
This commit is contained in:
2
.github/workflows/integrity-check.yml
vendored
2
.github/workflows/integrity-check.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
node-version: '18'
|
||||
- run: yarn
|
||||
- run: yarn lint
|
||||
- run: yarn test --coverage
|
||||
- run: yarn test:ci --coverage
|
||||
- run: bash <(curl -s https://codecov.io/bash)
|
||||
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
|
||||
# - run: yarn build --quiet && git diff --quiet dist || { echo "dist should be auto generated" ; git diff dist ; exit 62; }
|
||||
|
||||
26
.github/workflows/integrity.yml
vendored
26
.github/workflows/integrity.yml
vendored
@@ -1,26 +0,0 @@
|
||||
name: Integrity
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: ['**']
|
||||
push:
|
||||
branches: ['**']
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'yarn'
|
||||
- name: Install
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Test (CI)
|
||||
run: yarn test:ci
|
||||
env:
|
||||
CI: true
|
||||
Reference in New Issue
Block a user