summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-06-30 11:21:41 -0700
committerGravatar GitHub <noreply@github.com> 2022-06-30 11:21:41 -0700
commitbf44b2ab88751d59f1d1071a878944ce49554210 (patch)
treec1bdefd235aefaf39566e20435e25fd9d7ad3d22
parent192c4bcfd69aa44f735866378d8ba08ba902d290 (diff)
downloadastro-bf44b2ab88751d59f1d1071a878944ce49554210.tar.gz
astro-bf44b2ab88751d59f1d1071a878944ce49554210.tar.zst
astro-bf44b2ab88751d59f1d1071a878944ce49554210.zip
Ci: improve times, reduce delay (#3780)
* improve CI times * improve CI times
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 10 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 404473e7d..cd46c3ef6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -114,9 +114,9 @@ jobs:
node_version: [14, 16]
include:
- os: windows-latest
- node_version: 16
+ node_version: 14
- os: macos-latest
- node_version: 16
+ node_version: 14
fail-fast: false
needs:
- build
@@ -151,19 +151,14 @@ jobs:
run: pnpm run test
e2e:
- name: 'E2E: ${{ matrix.os }} (node@${{ matrix.node_version }})'
+ name: 'Test (E2E): ${{ matrix.os }} (node@${{ matrix.node_version }})'
runs-on: ${{ matrix.os }}
env:
ASTRO_TELEMETRY_DISABLED: true
strategy:
matrix:
- os: [ubuntu-latest]
- node_version: [14, 16]
- include:
- - os: windows-latest
- node_version: 16
- - os: macos-latest
- node_version: 16
+ os: [ubuntu-latest, windows-latest]
+ node_version: [14]
fail-fast: false
needs:
- build
@@ -193,11 +188,12 @@ jobs:
run: pnpm run test:e2e
smoke:
- name: 'Test (Smoke) ${{ matrix.os }}'
+ name: 'Test (Smoke): ${{ matrix.os }} (node@${{ matrix.node_version }})'
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [ubuntu-latest, windows-latest]
+ node_version: [14]
needs:
- build
steps:
@@ -212,10 +208,10 @@ jobs:
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.1
- - name: Setup Node
+ - name: Setup node@${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
- node-version: 14
+ node-version: ${{ matrix.node_version }}
cache: 'pnpm'
- name: Download Build Artifacts