npm install lint
          npm run lint
This commit is contained in:
miwr 2025-04-08 11:13:12 +02:00
parent 43d680b56b
commit 0393fd84e4
3 changed files with 1393 additions and 52 deletions

View file

@ -5,10 +5,8 @@ on: push
jobs: jobs:
build: build:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- - name: Repository meta
name: Repository meta
id: repository id: repository
run: | run: |
registry=${{ github.server_url }} registry=${{ github.server_url }}
@ -18,30 +16,28 @@ jobs:
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
echo "repository=${repository}" >> "$GITHUB_OUTPUT" echo "repository=${repository}" >> "$GITHUB_OUTPUT"
echo "repository=${repository}" echo "repository=${repository}"
- - name: Docker meta
name: Docker meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
id: docker id: docker
with: with:
images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }} images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
- - name: Login to registry
name: Login to registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ steps.repository.outputs.registry }} registry: ${{ steps.repository.outputs.registry }}
username: ${{ secrets.PACKAGES_USER }} username: ${{ secrets.PACKAGES_USER }}
password: ${{ secrets.PACKAGES_TOKEN }} password: ${{ secrets.PACKAGES_TOKEN }}
- - name: Set up QEMU
name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
- - name: Set up Docker Buildx
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
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: Test
run: ls run: |
npm install lint
npm run lint
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:

1422
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -19,6 +19,7 @@
"@angular/platform-browser": "^18.2.0", "@angular/platform-browser": "^18.2.0",
"@angular/platform-browser-dynamic": "^18.2.0", "@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0", "@angular/router": "^18.2.0",
"lint": "^0.8.19",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"zone.js": "~0.14.10" "zone.js": "~0.14.10"