dc/.gitea/workflows/build.yaml
Mihajlo Medjedovic 24067ea82b
Some checks failed
Build / Build-and-ng-test (pull_request) Failing after 24s
chore: calling licence checker script as a part of PR action
2023-09-25 16:51:33 +02:00

22 lines
466 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 run license-checker