diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9d6a51e7..e3974ab3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,10 +20,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Node.js 18.x + - name: Setup Node.js 24.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 24.x cache: 'npm' - name: Install Dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd50f303..496d6674 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,10 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write # For creating releases + pull-requests: write # For changesets PR + id-token: write # For npm OIDC env: NODE_OPTIONS: --max-old-space-size=4096 steps: @@ -22,10 +26,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Node.js 18.x + - name: Setup Node.js 24.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 24.x cache: 'npm' - name: Install Dependencies @@ -47,5 +51,4 @@ jobs: with: publish: npm run release env: - GITHUB_TOKEN: ${{ steps.release_token.outputs.token }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ steps.release_token.outputs.token }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8165efb..78c128b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 24 cache: 'npm' - name: Install dependencies