Skip to content

Update dependency algoliasearch to v5 #1609

Update dependency algoliasearch to v5

Update dependency algoliasearch to v5 #1609

Workflow file for this run

name: Commenter
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
- run: npm install
- run: |
node lib/comment.js --diff | tee -a results.txt
- name: Comment PR
uses: marocchino/sticky-pull-request-comment@v2
with:
path: results.txt
- uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
const fileContent = fs.readFileSync('results.txt', 'utf8');
if (fileContent.includes('❌')) {
core.setFailed('CDN check failed!')
}