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:
|
||||
buildkitd-flags: '--allow-insecure-entitlement network.host'
|
||||
driver-opts: network=host
|
||||
- name: Test
|
||||
- name: Lint & Test
|
||||
run: |
|
||||
registry=${{ github.server_url }}
|
||||
registry=${registry##http*://}
|
||||
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||
fullrepo=https://${registry}/${repository}.git
|
||||
echo "this is the full repo"
|
||||
echo ${fullrepo}
|
||||
git init
|
||||
git pull ${fullrepo}
|
||||
ls -l
|
||||
npm install @angular/cli
|
||||
npm run lint
|
||||
npm run test
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue