-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.17 KB
/
node.yml
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
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf ssh://[email protected]/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: run tests
env:
HOST: localhost
REACT_APP_URL: https://$HOST
REACT_APP_SERVER_PORT: 5000
API_HOST: https://testrant.internet.ee
PUBLIC_API_HOST: https://www.internet.ee
PUBLIC_API_KEY: 4395743059dsfksdfyds8f7334
CLIENT_ID: eis_client_test
CLIENT_SECRET: secret12345
ISSUER_URL: https://tara-test.ria.ee
TOKEN_PATH: /oidc/token
JWKS_PATH: /oidc/jwks
AUTH_PATH: /oidc/authorize
REDIRECT_URL: /auth/callback
SESSION_SECRET: secret555555
HTTPS: true
run: npm test