mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-31 17:20:44 +08:00
Updates some CI packages to v3 and skips test if PR is merged
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -9,6 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
check-build:
|
||||
if: github.event.pull_request.merged == false
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -9,6 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
check-e2e:
|
||||
if: github.event.pull_request.merged == false
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
@@ -9,13 +9,14 @@ on:
|
||||
|
||||
jobs:
|
||||
check-format:
|
||||
if: github.event.pull_request.merged == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "18.12.1"
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: npm ci
|
||||
- run: ./scripts/check-format
|
||||
shell: bash
|
||||
|
||||
@@ -9,6 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
check-unit-test:
|
||||
if: github.event.pull_request.merged == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Node
|
||||
@@ -16,6 +17,6 @@ jobs:
|
||||
with:
|
||||
node-version: "18.12.1"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- run: npm ci
|
||||
- run: npm run test:unit
|
||||
|
||||
@@ -9,12 +9,13 @@ on:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
if: github.event.pull_request.merged == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "18.12.1"
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: npm ci
|
||||
- run: npm run check
|
||||
|
||||
Reference in New Issue
Block a user