From e37bb2dc47857228f4af9220f0566394a37015c6 Mon Sep 17 00:00:00 2001 From: "taeyoung.hong" Date: Thu, 14 May 2026 16:34:00 +0900 Subject: [PATCH 1/4] NXT-12459: Replace Travis CI with GitHub Actions --- .github/workflows/ci-branch.yml | 21 ++++++++++++++++++ .github/workflows/ci-pull-request.yml | 16 ++++++++++++++ .github/workflows/ci-reusable.yml | 32 +++++++++++++++++++++++++++ .travis.yml | 12 ---------- 4 files changed, 69 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/ci-branch.yml create mode 100644 .github/workflows/ci-pull-request.yml create mode 100644 .github/workflows/ci-reusable.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci-branch.yml b/.github/workflows/ci-branch.yml new file mode 100644 index 00000000..e1fd79a7 --- /dev/null +++ b/.github/workflows/ci-branch.yml @@ -0,0 +1,21 @@ +name: CI + +on: + push: + branches: + - develop + - master + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: + +concurrency: + group: ci-branch-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + branch: + uses: ./.github/workflows/ci-reusable.yml + with: + checkout-ref: ${{ github.event.pull_request.head.sha || github.sha }} + secrets: inherit diff --git a/.github/workflows/ci-pull-request.yml b/.github/workflows/ci-pull-request.yml new file mode 100644 index 00000000..9ab1857a --- /dev/null +++ b/.github/workflows/ci-pull-request.yml @@ -0,0 +1,16 @@ +name: CI + +on: + pull_request: + types: [opened, synchronize, reopened] + +concurrency: + group: ci-pr-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + pull-request: + uses: ./.github/workflows/ci-reusable.yml + with: + checkout-ref: '' + secrets: inherit diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml new file mode 100644 index 00000000..a51c9b9e --- /dev/null +++ b/.github/workflows/ci-reusable.yml @@ -0,0 +1,32 @@ +name: CI Pipeline + +on: + workflow_call: + inputs: + checkout-ref: + description: 'Git ref to checkout (empty for default merge commit)' + type: string + required: false + default: '' + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ['node'] + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: ${{ inputs.checkout-ref || github.ref }} + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Run ESLint + run: npm run lint -- -- --report-unused-disable-directives --max-warnings 0 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f893d5dd..00000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -dist: focal -language: node_js -node_js: - - node -sudo: false -install: - - npm config set prefer-offline false - - npm install - - npm link - -script: - - npm run lint -- --report-unused-disable-directives --max-warnings 0 From cc00d742b07616df2253eb296f343cffd30f8f29 Mon Sep 17 00:00:00 2001 From: "taeyoung.hong" Date: Thu, 14 May 2026 16:38:34 +0900 Subject: [PATCH 2/4] NXT-12459: Replace Travis CI with GitHub Actions 2 --- .github/workflows/ci-reusable.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index a51c9b9e..507d03a8 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -28,5 +28,10 @@ jobs: with: node-version: ${{ matrix.node-version }} + - name: Install project dependencies + run: | + npm install + - name: Run ESLint - run: npm run lint -- -- --report-unused-disable-directives --max-warnings 0 + run: | + npm run lint -- -- --report-unused-disable-directives --max-warnings 0 From 2473d9851d75e784df2585dc04d0971b019580a8 Mon Sep 17 00:00:00 2001 From: "taeyoung.hong" Date: Thu, 14 May 2026 16:57:30 +0900 Subject: [PATCH 3/4] NXT-12459: Replace Travis CI with GitHub Actions 3 --- .github/workflows/ci-reusable.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index 507d03a8..381867fa 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -31,6 +31,7 @@ jobs: - name: Install project dependencies run: | npm install + npm link - name: Run ESLint run: | From 61769701f86c91c83c082209fd45dab84f7158c9 Mon Sep 17 00:00:00 2001 From: "taeyoung.hong" Date: Fri, 15 May 2026 09:53:06 +0900 Subject: [PATCH 4/4] fix lint error --- config/webpack.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index 238f4061..1714bc2a 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -331,7 +331,6 @@ module.exports = function ( store: 'pack', buildDependencies: { defaultWebpack: ['webpack/lib/'], - // eslint-disable-next-line no-undef config: [__filename], tsconfig: useTypeScript ? ['tsconfig.json'] : [] }