diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e7a670b9f..620d3f74ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,7 +166,7 @@ jobs: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }} - name: Install dependencies - run: mix deps.get --only e2e + run: mix deps.get --only e2e --only dev - name: Restore npm cache uses: actions/cache@v2 @@ -176,7 +176,13 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - name: npm install and test + - name: npm install (assets) + run: cd assets && npm install && cd .. + + - name: Build assets + run: mix assets.build + + - name: Run e2e tests run: | npm install npm run e2e:test