diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5041cea..9f2e38d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,33 +39,4 @@ jobs: run: npm test - name: Build project - run: npm run build - - release: - needs: test - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Use Node.js 22.x - uses: actions/setup-node@v4 - with: - node-version: 22.x - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Build project - run: npm run build:local - - - name: Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx semantic-release \ No newline at end of file + run: npm run build \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c147490..06fa0f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'npm' registry-url: 'https://registry.npmjs.org'