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:
Sebastian Martinez
2022-12-16 16:16:39 +01:00
parent d7f8156725
commit 65b37b7ef4
5 changed files with 8 additions and 3 deletions
+1
View File
@@ -9,6 +9,7 @@ on:
jobs:
check-build:
if: github.event.pull_request.merged == false
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
+1
View File
@@ -9,6 +9,7 @@ on:
jobs:
check-e2e:
if: github.event.pull_request.merged == false
continue-on-error: true
strategy:
matrix:
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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