Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade web-vitals.js and add a GitHub Action to check in future #136

Merged
merged 6 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/check-web-vitals-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Web Vitals script matches node
on:
workflow_dispatch:
pull_request:
paths:
- 'package.json'
- 'package-lock.json'
push:
branches:
- main
jobs:
install:
name: Install and test
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Setup Node.js for use with actions
uses: actions/setup-node@v3
- name: Install dependencies
run: npm install
- name: Check web-vitals matches
run: diff node_modules/web-vitals/dist/web-vitals.attribution.js src/browser_action/web-vitals.js
Loading