25 lines
502 B
YAML
25 lines
502 B
YAML
name: Build
|
|
run-name: Running Lint Check
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
Build-and-ng-test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- name: Write .npmrc file
|
|
run: echo "$NPMRC" > client/.npmrc
|
|
shell: bash
|
|
env:
|
|
NPMRC: ${{ secrets.NPMRC}}
|
|
|
|
- run: npm run lint:check
|
|
- run: |
|
|
cd client
|
|
npm ci
|
|
npm run license-checker |