Skip to content

Commit 2c0fac0

Browse files
authored
Update e2e.yml
Signed-off-by: Christian Leucht <c.leucht@inpsyde.com>
1 parent a8bba13 commit 2c0fac0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/e2e.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ jobs:
2525
name: Playwright
2626
runs-on: ubuntu-latest
2727
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
2928
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
3029
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
31-
GITHUB_USER_SSH_KEY: ${{ secrets.DEPLOYBOT_SSH_PRIVATE_KEY }}
32-
COMPOSER_AUTH: '${{secrets.PACKAGIST_AUTH_JSON}}'
3330
strategy:
3431
fail-fast: false
3532

@@ -38,13 +35,17 @@ jobs:
3835
uses: actions/checkout@v4
3936

4037
- name: Set up SSH
41-
if: ${{ env.GITHUB_USER_SSH_KEY != '' }}
4238
uses: webfactory/ssh-agent@v0.9.0
39+
env:
40+
GITHUB_USER_SSH_KEY: ${{ secrets.GITHUB_USER_SSH_KEY }}
41+
if: ${{ env.GITHUB_USER_SSH_KEY != '' }}
4342
with:
4443
ssh-private-key: ${{ env.GITHUB_USER_SSH_KEY }}
4544

4645
- name: Set up PHP
4746
uses: shivammathur/setup-php@v2
47+
env:
48+
COMPOSER_AUTH: '${{ secrets.COMPOSER_AUTH_JSON }}'
4849
with:
4950
php-version: 8.2
5051
tools: composer
@@ -57,9 +58,12 @@ jobs:
5758

5859
- name: Set up node
5960
uses: actions/setup-node@v4
61+
env:
62+
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
6063
with:
6164
node-version: '20'
6265
registry-url: 'https://npm.pkg.github.com/'
66+
cache: 'npm'
6367

6468
- name: Github Packages Auth
6569
run: |

0 commit comments

Comments
 (0)