Skip to content

snippet colors

snippet colors #502

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
types: [opened, edited, reopened, closed, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 17
cache: npm
- name: Run Antora
run: ./buildw
- name: PR Number
run: echo "PR-${{ github.event.pull_request.number }}"
- name: Deploy PR Preview
uses: rossjrw/pr-preview-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
preview-branch: gh-pages
source-dir: build/site
umbrella-dir: pr-preview
- run: mkdir /tmp/artifacts
- name: Run Lighthouse Report
uses: foo-software/lighthouse-check-action@master
with:
outputDirectory: /tmp/artifacts
urls: 'https://quickstarts.teradata.com/pr-preview/pr-${{ github.event.pull_request.number }}/'
device: 'all'
- name: Upload Lighthouse artifacts
uses: actions/upload-artifact@master
with:
name: Lighthouse reports
path: /tmp/artifacts
- name: Leave Comment
uses: foo-software/lighthouse-check-action@master
with:
accessToken: ${{ secrets.GITHUB_TOKEN }}
outputDirectory: /tmp/artifacts
urls: 'https://quickstarts.teradata.com/pr-preview/pr-${{ github.event.pull_request.number }}/'
device: 'desktop'