Lint & Test
This commit is contained in:
parent
82a5cdf224
commit
e9277544ce
1 changed files with 3 additions and 5 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue