Update dependency firebase to v11 #1611
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!') | |
} |