fix(ci): correct path for renders
This commit is contained in:
10
.github/workflows/examples.yml
vendored
10
.github/workflows/examples.yml
vendored
@@ -1045,7 +1045,7 @@ jobs:
|
||||
markdown: metrics.markdown.template.md
|
||||
config_output: markdown
|
||||
token: ${{ secrets.METRICS_TOKEN }}
|
||||
output_action: none
|
||||
output_action: commit
|
||||
committer_branch: examples
|
||||
delay: 120
|
||||
user: lowlighter
|
||||
@@ -1081,7 +1081,7 @@ jobs:
|
||||
plugin_isocalendar: yes
|
||||
plugin_languages: yes
|
||||
token: ${{ secrets.METRICS_TOKEN }}
|
||||
output_action: none
|
||||
output_action: commit
|
||||
committer_branch: examples
|
||||
delay: 120
|
||||
user: lowlighter
|
||||
@@ -1102,7 +1102,7 @@ jobs:
|
||||
config_twemoji: yes
|
||||
config_padding: 5%
|
||||
token: ${{ secrets.METRICS_TOKEN }}
|
||||
output_action: none
|
||||
output_action: commit
|
||||
committer_branch: examples
|
||||
delay: 120
|
||||
user: lowlighter
|
||||
@@ -1135,8 +1135,8 @@ jobs:
|
||||
- name: Screenshot markdown example
|
||||
if: ${{ success() || failure() }}
|
||||
run: |
|
||||
node /metrics/.github/scripts/markdown_example.mjs
|
||||
mv metrics.markdown.png /
|
||||
docker run --entrypoint="" --volume=/tmp:/tmp ghcr.io/lowlighter/metrics:master node /metrics/.github/scripts/markdown_example.mjs
|
||||
sudo mv /tmp/metrics.markdown.png /metrics_renders/
|
||||
- name: Publish examples
|
||||
if: ${{ success() || failure() }}
|
||||
run: |
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
||||
run: docker build -t lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') .
|
||||
- name: Run tests
|
||||
run: docker run --workdir=/metrics --entrypoint="" lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') npm test -- metrics.test.js
|
||||
run: docker run --entrypoint="" lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') npm test -- metrics.test.js
|
||||
|
||||
# Run CodeQL on branch
|
||||
analyze:
|
||||
|
||||
Reference in New Issue
Block a user