Fixed sanitizeUrl function #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |