Update: bump eslint-plugin-import from 2.29.1 to 2.31.0 #695
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: Compressed Size | |
on: | |
pull_request: | |
jobs: | |
calc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Get npm cache directory | |
id: npm-cache | |
run: | | |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT | |
- name: Check npm cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
${{ steps.npm-cache.outputs.dir }} | |
key: npm-18.x-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
pattern: "./packages/candyget/{index.{js,d.ts},package.json,LICENSE,README.md}" | |
compression: none |