mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
fix(ci): use custom setup node action in backend e2e tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
de6faa6bd0
commit
4012e8625c
1 changed files with 6 additions and 12 deletions
18
.github/workflows/backend-e2e-tests.yml
vendored
18
.github/workflows/backend-e2e-tests.yml
vendored
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue