dc/.gitea/workflows/build.yaml
Mihajlo Medjedovic 91e82c9c65
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 1m19s
ci: npm ci in build.yaml
2023-09-25 16:53:40 +02:00

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