mirror of
https://github.com/zhigang1992/connect.git
synced 2026-04-29 01:45:38 +08:00
ci: remove compressed-size-action
This commit is contained in:
committed by
Thomas Osmonson
parent
f657dba2d5
commit
ce0d5b5196
29
.github/workflows/bundle-sizes.yml
vendored
29
.github/workflows/bundle-sizes.yml
vendored
@@ -1,29 +0,0 @@
|
||||
name: Compressed Size
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Node Version
|
||||
uses: actions/setup-node@v1.4.2
|
||||
with:
|
||||
node-version: 12.16.1
|
||||
- name: Restore lerna cache
|
||||
id: lerna-cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
*/*/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
- name: Install monorepo deps
|
||||
run: yarn --frozen-lockfile
|
||||
if: steps.lerna-cache.outputs.cache-hit != 'true'
|
||||
- uses: preactjs/compressed-size-action@v2
|
||||
with:
|
||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
build-script: 'lerna run build --stream --scope @blockstack/connect'
|
||||
pattern: '**/connect/dist/**/*.js'
|
||||
Reference in New Issue
Block a user