Lint & Test

This commit is contained in:
miwr 2025-04-08 12:26:56 +02:00
parent 82a5cdf224
commit e9277544ce

View file

@ -34,19 +34,17 @@ jobs:
with: with:
buildkitd-flags: '--allow-insecure-entitlement network.host' buildkitd-flags: '--allow-insecure-entitlement network.host'
driver-opts: network=host driver-opts: network=host
- name: Test - name: Lint & Test
run: | run: |
registry=${{ github.server_url }} registry=${{ github.server_url }}
registry=${registry##http*://} registry=${registry##http*://}
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
fullrepo=https://${registry}/${repository}.git fullrepo=https://${registry}/${repository}.git
echo "this is the full repo"
echo ${fullrepo}
git init git init
git pull ${fullrepo} git pull ${fullrepo}
ls -l
npm install @angular/cli npm install @angular/cli
npm run lint npm run lint
npm run test
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with: