Skip to content

Commit

Permalink
Matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Mar 3, 2021
1 parent a351183 commit 463a951
Showing 1 changed file with 7 additions and 39 deletions.
46 changes: 7 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,46 +399,14 @@ jobs:
name: verdaccio-workspace
path: /tmp/verdaccio-workspace

e2e-babel:
name: E2E - babel
needs: e2e-publish
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: "*"
- uses: actions/download-artifact@v2
with:
name: verdaccio-workspace
path: /tmp/verdaccio-workspace
- name: Test
run: ./scripts/integration-tests/e2e-babel.sh

e2e-babel-old-version:
name: E2E - babel-old-version
needs: e2e-publish
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: "*"
- uses: actions/download-artifact@v2
with:
name: verdaccio-workspace
path: /tmp/verdaccio-workspace
- name: Test
run: ./scripts/integration-tests/e2e-babel-old-version.sh

e2e-create-react-app:
name: E2E - create-react-app
e2e-tests:
name: E2E
needs: e2e-publish
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [babel, babel-old-version, create-react-app]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -451,4 +419,4 @@ jobs:
name: verdaccio-workspace
path: /tmp/verdaccio-workspace
- name: Test
run: ./scripts/integration-tests/e2e-create-react-app.sh
run: ./scripts/integration-tests/e2e-${{ matrix.project }}.sh

0 comments on commit 463a951

Please sign in to comment.