Update workflow.yml

This commit is contained in:
lowlighter
2021-03-07 12:39:16 +01:00
parent 2a36331700
commit c850e29981

View File

@@ -25,12 +25,12 @@ jobs:
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: 15 node-version: 15
- name: Setup metrics #- name: Setup metrics
run: npm ci # run: npm ci
- name: Check contributions requirements #- name: Check contributions requirements
run: npm test -- ci.test.js # run: npm test -- ci.test.js
- name: Run linter #- name: Run linter
run: npm run linter # run: npm run linter
# Build docker image from branch and run tests # Build docker image from branch and run tests
build: build:
@@ -94,6 +94,8 @@ jobs:
# run: docker build -t ghcr.io/lowlighter/metrics:master . # run: docker build -t ghcr.io/lowlighter/metrics:master .
#- name: Publish to GitHub registry #- name: Publish to GitHub registry
# run: docker push ghcr.io/lowlighter/metrics:master # run: docker push ghcr.io/lowlighter/metrics:master
- name: Pull docker image (master)
run: docker pull ghcr.io/lowlighter/metrics:master
- name: Tag docker image (beta) - name: Tag docker image (beta)
run: | run: |
set +e set +e