Skip to content

Merge branch 'feature/AB#16756' into dev #748

Merge branch 'feature/AB#16756' into dev

Merge branch 'feature/AB#16756' into dev #748

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
test-build-lint:
runs-on: ubuntu-latest
env:
VITE_API_URL_DEV: 'https://api-obzh-dev.azurewebsites.net'
VITE_API_URL_TEST: 'https://api-obzh-test.azurewebsites.net'
VITE_API_URL_ACC: 'https://api-obzh-acc.azurewebsites.net'
VITE_API_URL_PROD: 'https://api-obzh.azurewebsites.net'
VITE_GEOSERVER_API_URL: https://geo-omgevingsbeleid-test.azurewebsites.net
VITE_API_ENV: dev
VITE_KEY_API_ACCESS_TOKEN: OB_access_token
VITE_KEY_IDENTIFIER: OB_identifier
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn --immutable
- name: Run the tests and generate coverage report
run: yarn test:coverage
- name: Build
run: yarn build
- name: Upload Code Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}