diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index be6e38c..83591a4 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [22.x] steps: - name: Checkout code diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0c857f5..4c006e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'npm' - name: Install dependencies @@ -41,16 +41,7 @@ jobs: git config user.email "github-actions[bot]@users.noreply.github.com" - name: Release with semantic-release - uses: cycjimmy/semantic-release-action@v3 - with: - semantic_version: 25.0.2 - branch: main - extra_plugins: | - @semantic-release/commit-analyzer - @semantic-release/release-notes-generator - @semantic-release/npm - @semantic-release/git - @semantic-release/github + run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}