Skip to content

Commit

Permalink
chore(build): remove rollup build infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduy1407 committed Nov 30, 2024
1 parent 71f6c49 commit 8df9963
Show file tree
Hide file tree
Showing 64 changed files with 383 additions and 2,402 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/build-rollup.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/main-rollup.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,40 +27,28 @@ jobs:
name: Analysis Tests
needs: [build_core]
uses: ./.github/workflows/test-analysis.yml
with:
build_name: rindo-core

docs_build_tests:
name: Docs Build Tests
needs: [build_core]
uses: ./.github/workflows/test-docs-build.yml
with:
build_name: rindo-core

bundler_tests:
name: Bundler Tests
needs: [build_core]
uses: ./.github/workflows/test-bundlers.yml
with:
build_name: rindo-core

component_starter_tests:
name: Component Starter Smoke Test
needs: [build_core]
uses: ./.github/workflows/test-component-starter.yml
with:
build_name: rindo-core

e2e_tests:
name: E2E Tests
needs: [build_core]
uses: ./.github/workflows/test-e2e.yml
with:
build_name: rindo-core

unit_tests:
name: Unit Tests
needs: [build_core]
uses: ./.github/workflows/test-unit.yml
with:
build_name: rindo-core
7 changes: 1 addition & 6 deletions .github/workflows/test-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
build_name:
description: Name for the build, used to resolve the correct build artifact
required: true
type: string

jobs:
analysis_test:
Expand All @@ -35,7 +30,7 @@ jobs:
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: ${{ inputs.build_name }}
name: rindo-core
path: .
filename: rindo-core-build.zip

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-bundlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
build_name:
description: Name for the build, used to resolve the correct build artifact
required: true
type: string

jobs:
bundler_tests:
Expand All @@ -24,7 +19,7 @@ jobs:
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: ${{ inputs.build_name }}
name: rindo-core
path: .
filename: rindo-core-build.zip

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-component-starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
build_name:
description: Name for the build, used to resolve the correct build artifact
required: true
type: string

jobs:
analysis_test:
Expand Down Expand Up @@ -44,7 +39,7 @@ jobs:
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: ${{ inputs.build_name }}
name: rindo-core
path: ./rindo-pack-destination
filename: rindo-core-build.zip

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
build_name:
description: Name for the build, used to resolve the correct build artifact
required: true
type: string

jobs:
docs_build_test:
Expand All @@ -35,7 +30,7 @@ jobs:
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: ${{ inputs.build_name }}
name: rindo-core
path: .
filename: rindo-core-build.zip

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
build_name:
description: Name for the build, used to resolve the correct build artifact
required: true
type: string

jobs:
e2e_test:
Expand All @@ -35,7 +30,7 @@ jobs:
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: ${{ inputs.build_name }}
name: rindo-core
path: .
filename: rindo-core-build.zip

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
inputs:
build_name:
description: Name for the build, used to resolve the correct build artifact
required: true
type: string

jobs:
unit_test:
Expand All @@ -35,7 +30,7 @@ jobs:
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: ${{ inputs.build_name }}
name: rindo-core
path: .
filename: rindo-core-build.zip

Expand Down
2 changes: 0 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ module.exports = {
collectCoverageFrom: [
'<rootDir>/scripts/**/*.{js,jsx,ts,tsx}',
'!<rootDir>/scripts/build/**/*.{js,jsx,ts,tsx}',
'!<rootDir>/scripts/bundles/helpers/compiler-cjs-intro.js',
'!<rootDir>/scripts/bundles/helpers/compiler-cjs-outro.js',
'<rootDir>/src/app-data/**/*.{js,jsx,ts,tsx}',
'<rootDir>/src/app-globals/**/*.{js,jsx,ts,tsx}',
'<rootDir>/src/cli/**/*.{js,jsx,ts,tsx}',
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"testing/"
],
"scripts": {
"build.rollup": "npm run tsc.scripts && npm run tsc.prod && npm run rollup.prod.ci",
"build": "npm run clean && npm run tsc.scripts && npm run tsc.prod && node scripts/build --prod --ci",
"build.watch": "npm run build -- --watch",
"build.updateSelectorEngine": "node scripts/build/updateSelectorEngine.js",
Expand Down
Loading

0 comments on commit 8df9963

Please sign in to comment.