Skip to content

chore(deps): bump http-proxy-middleware and @angular-devkit/build-ang… #43

chore(deps): bump http-proxy-middleware and @angular-devkit/build-ang…

chore(deps): bump http-proxy-middleware and @angular-devkit/build-ang… #43

name: build-test-deploy
on:
push:
branches: [ "main" ]
jobs:
build-test-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '22' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
env:
CYPRESS_INSTALL_BINARY: 0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test
- name: Build
if: success()
run: npm run build:prod
# - name: Upload Codecov
# if: success()
# uses: codecov/codecov-action@v3
# with:
# files: ./coverage/lcov.info
# flags: unittests
- name: Deploy
if: success()
uses: nwtgck/[email protected]
with:
publish-dir: './dist/gestructureerde-mededeling/browser'
production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1