Build: Switch to esbuild (#12052)
This commit is contained in:
1 parent
0cfb9d95e4
commit
4593aa07c2
21 files changed
+1394
-1579
No files matched your search
@@ -24,17 +24,6 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Cache Build Results
|
||||
id: build-cache
|
||||
uses: actions/cache@v2.1.7
|
||||
with:
|
||||
path: .cache
|
||||
key: v2-build-cache-${{ hashFiles('yarn.lock') }}-${{ hashFiles('scripts/build/**/*') }}-${{ github.ref }}-
|
||||
restore-keys: |
|
||||
v2-build-cache-${{ hashFiles('yarn.lock') }}-${{ hashFiles('scripts/build/**/*') }}-${{ github.ref }}-
|
||||
v2-build-cache-${{ hashFiles('yarn.lock') }}-${{ hashFiles('scripts/build/**/*') }}-refs/heads/${{ github.base_ref }}-
|
||||
v2-build-cache-${{ hashFiles('yarn.lock') }}-${{ hashFiles('scripts/build/**/*') }}-refs/heads/main-
|
||||
|
||||
- name: Build Package
|
||||
run: yarn build
|
||||
|
||||
@@ -46,7 +35,6 @@ jobs:
|
||||
|
||||
# This step calls `git reset`
|
||||
# It should be the last step
|
||||
# The cache step might saving the result of main branch, need investigate
|
||||
- name: Check Sizes
|
||||
if: ${{ github.event_name == 'pull_request' && startsWith(github.head_ref, 'dependabot/npm_and_yarn/') }}
|
||||
uses: preactjs/compressed-size-action@2.3.0
|
||||
|
||||
Reference in new issue
Block a user