chore(deps): update dependency eslint-plugin-format to v1 #3818
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: Package Size | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
bundle-analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Checkout | |
uses: actions/checkout@v4.2.2 | |
- name: Setup GitHub App | |
id: bot | |
uses: re-taro/actions/gen-installation-token@v3.6.0 | |
with: | |
app_id: ${{ secrets.APP_ID}} | |
private_key: ${{ secrets.PRIVATE_KEY}} | |
- name: Setup | Node.js | |
uses: re-taro/actions/setup-node@v3.6.0 | |
with: | |
node-version-file: .tool-versions | |
- name: Analyze | Bundle Size | |
uses: preactjs/compressed-size-action@2.7.0 | |
with: | |
pattern: build/client/assets/*.{js,css} | |
repo-token: ${{ steps.bot.outputs.token }} | |
- name: Revoke GitHub Apps token | |
env: | |
GITHUB_TOKEN: ${{ steps.bot.outputs.token }} | |
run: | | |
curl --location --silent --request DELETE \ | |
--url "${GITHUB_API_URL}/installation/token" \ | |
--header "Accept: application/vnd.github+json" \ | |
--header "X-GitHub-Api-Version: 2022-11-28" \ | |
--header "Authorization: Bearer ${GITHUB_TOKEN}" |