From e22b064738907f6d65d5aaf4e44b30094e58a829 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 19 Aug 2025 00:58:59 +0700 Subject: [PATCH] chore: remove CI workflow configuration file --- workflows/ci.yml | 71 ------------------------------------------------ 1 file changed, 71 deletions(-) delete mode 100644 workflows/ci.yml diff --git a/workflows/ci.yml b/workflows/ci.yml deleted file mode 100644 index 378f868..0000000 --- a/workflows/ci.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: CI - -on: - push: - branches: [ main, develop ] - pull_request: - branches: [ main, develop ] - -jobs: - test: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16, 18, 20] - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run linter - run: npm run lint - - - name: Run tests - run: npm test - - - name: Run build - run: npm run build - - - name: Upload coverage to Codecov - if: matrix.node-version == 18 - uses: codecov/codecov-action@v3 - with: - file: ./coverage/lcov.info - flags: unittests - name: codecov-umbrella - - publish: - needs: test - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Use Node.js 18 - uses: actions/setup-node@v4 - with: - node-version: 18 - registry-url: 'https://registry.npmjs.org' - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Publish to NPM - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file