[ENG-1335] Allow configuring of mock server port #1673
Workflow file for this run
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: konfig-tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
unit-tests: | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
node_version: [lts/*] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
defaults: | |
run: | |
working-directory: generator/konfig-dash | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.SUBMODULES_ACCESS_TOKEN }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: yarn | |
cache-dependency-path: generator/konfig-dash/yarn.lock | |
- run: yarn install --network-timeout 600000 | |
- run: yarn test |