From a07ff4e31241971b066fe5518a8e35dea6240b05 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 16 Mar 2020 14:38:51 +0100 Subject: [PATCH] Collapse actions matrix (#2397) --- .github/workflows/pr-any.yml | 32 ++++++++----------------------- .github/workflows/push-master.yml | 11 ++--------- 2 files changed, 10 insertions(+), 33 deletions(-) diff --git a/.github/workflows/pr-any.yml b/.github/workflows/pr-any.yml index 4cd57985a2b5..a92e8d79ea48 100644 --- a/.github/workflows/pr-any.yml +++ b/.github/workflows/pr-any.yml @@ -5,15 +5,11 @@ jobs: lint: name: Linting runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x] steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - name: lint run: | yarn install --immutable | grep -v 'YN0013' @@ -22,15 +18,11 @@ jobs: test: name: Testing runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x] steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - name: test run: | yarn install --immutable | grep -v 'YN0013' @@ -39,15 +31,11 @@ jobs: build_code: name: Build Code runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x] steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - name: build run: | yarn install --immutable | grep -v 'YN0013' @@ -56,15 +44,11 @@ jobs: build_i18n: name: Build i18n runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x] steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - name: build run: | yarn install --immutable | grep -v 'YN0013' diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 16eac4403426..397721ea479a 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -9,17 +9,13 @@ jobs: name: Build Code if: "! contains(github.event.head_commit.message, '[CI Skip]')" runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x] steps: - uses: actions/checkout@v1 with: token: ${{ secrets.GH_PAT }} - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - name: build env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} @@ -35,9 +31,6 @@ jobs: name: Dummy if: "contains(github.event.head_commit.message, '[CI Skip]')" runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x] steps: - name: dummy run: |