-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (42 loc) · 1.6 KB
/
dependabot-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# This CI triggered on Dependabot PRs.
#
# 1. Runs `npm test`, which includes lint, type-checking, and unit tests on node.js LTS 10,12,14
# and the current version (v15)
#
on:
- pull_request_target
jobs:
dependabot-test:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
STAGING_USERNAME_1: ${{ secrets.STAGING_USERNAME_1 }}
STAGING_PASSWORD_1: ${{ secrets.STAGING_PASSWORD_1 }}
STAGING_USERNAME_2: ${{ secrets.STAGING_USERNAME_2 }}
STAGING_PASSWORD_2: ${{ secrets.STAGING_PASSWORD_2 }}
STAGING_USERNAME_3: ${{ secrets.STAGING_USERNAME_3 }}
STAGING_PASSWORD_3: ${{ secrets.STAGING_PASSWORD_3 }}
STAGING_USERNAME_4: ${{ secrets.STAGING_USERNAME_4 }}
STAGING_PASSWORD_4: ${{ secrets.STAGING_PASSWORD_4 }}
STAGING_USERNAME_5: ${{ secrets.STAGING_USERNAME_5 }}
STAGING_PASSWORD_5: ${{ secrets.STAGING_PASSWORD_5 }}
STAGING_SUBSCRIPTION_ID_1: ${{ secrets.STAGING_SUBSCRIPTION_ID_1 }}
STAGING_SUBSCRIPTION_ID_2: ${{ secrets.STAGING_SUBSCRIPTION_ID_2 }}
KEYCLOAK_ADDRESS: ${{ secrets.KEYCLOAK_ADDRESS }}
KEYCLOAK_REALM: ${{ secrets.KEYCLOAK_REALM }}
API_ENDPOINT_ADDRESS: ${{ secrets.API_ENDPOINT_ADDRESS }}
TOKEN_HOST: ${{ secrets.TOKEN_HOST }}
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://npm.pkg.github.com"
- run: npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm test