Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Various improvments to code structure and error handling #271

Various improvments to code structure and error handling

Various improvments to code structure and error handling #271

Workflow file for this run

name: Angular CI
on:
push:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
defaults:
run:
working-directory: modules/portmaster/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: modules/portmaster/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: |
npm install
- name: Build
run: |
npm run build
- name: Lint
run: |
npm run lint