You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/.github/workflows/angular.yml

41 lines
919 B

name: 'Angular'
on:
pull_request:
paths:
- 'npm/ng-packs/**'
- '!npm/ng-packs/scripts/**'
jobs:
build-test-lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install packages
run: yarn install
working-directory: npm/ng-packs
- name: Run lint
run: yarn ng lint
working-directory: npm/ng-packs
- name: Run prepare workspace
run: yarn prepare:workspace
working-directory: npm/ng-packs
- name: Run test
run: yarn ci:test
working-directory: npm/ng-packs
- name: Run prod build
run: yarn ci:build
working-directory: npm/ng-packs