Skip to content

Update dependency omi to v7 #21839

Update dependency omi to v7

Update dependency omi to v7 #21839

Workflow file for this run

name: Test that the site builds
on: [push, pull_request]
permissions:
contents: write # To push a preview to gh pages
pull-requests: write # To comment on the PR
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- run: npm test
- name: Deploy Preview
if: ${{github.event_name == 'pull_request' && !(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]')}}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out
target-folder: preview/preview/preview/${{github.event.number}}
- name: Comment about preview
if: ${{github.event_name == 'pull_request' && !(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]')}}
uses: marocchino/sticky-pull-request-comment@v2
with:
message: |
Preview this PR: https://custom-elements-everywhere.com/preview/preview/preview/${{github.event.number}}/