Skip to content

Commit

Permalink
Merge pull request #15980 from strapi/chore/unit-front-node-matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Mar 7, 2023
2 parents 2a22da6 + 5003a8c commit 4541486
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
node: [18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -97,6 +97,26 @@ jobs:
directory: ./coverage
flags: front,unit_front

build:
name: 'build (node: ${{ matrix.node }})'
needs: [lint, unit_front]
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn install --frozen-lockfile
- name: Build
run: yarn build --scope @strapi/admin --scope @strapi/helper-plugin

api_ce_pg:
runs-on: ubuntu-latest
needs: [lint, unit_back, unit_front]
Expand Down

0 comments on commit 4541486

Please sign in to comment.