fix(ci): use custom setup node action in backend e2e tests

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-12-06 12:04:11 +01:00 committed by David Mehren
parent de6faa6bd0
commit 4012e8625c

View file

@ -88,14 +88,11 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Use Node.js ${{ env.NODEJS_VERSION }} - name: Setup node
if: needs.changes.outputs.changed == 'true' if: needs.changes.outputs.changed == 'true'
uses: actions/setup-node@v3 uses: ./.github/actions/setup-node
with: with:
node-version: ${{ env.NODEJS_VERSION }} NODE_VERSION: ${{ env.NODEJS_VERSION }}
- run: yarn install --immutable
if: needs.changes.outputs.changed == 'true'
- run: yarn run test:e2e - run: yarn run test:e2e
if: needs.changes.outputs.changed == 'true' if: needs.changes.outputs.changed == 'true'
@ -120,14 +117,11 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Use Node.js ${{ env.NODEJS_VERSION }} - name: Setup node
if: needs.changes.outputs.changed == 'true' if: needs.changes.outputs.changed == 'true'
uses: actions/setup-node@v3 uses: ./.github/actions/setup-node
with: with:
node-version: ${{ env.NODEJS_VERSION }} NODE_VERSION: ${{ env.NODEJS_VERSION }}
- run: yarn install --immutable
if: needs.changes.outputs.changed == 'true'
- run: yarn run test:e2e - run: yarn run test:e2e
if: needs.changes.outputs.changed == 'true' if: needs.changes.outputs.changed == 'true'