Skip to content

Update dependency firebase to v11 #1611

Update dependency firebase to v11

Update dependency firebase to v11 #1611

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!')
}