diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 527458b..32723b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,6 @@ on: branches: [master] pull_request: branches: ['*'] - # types: [opened, synchronize] jobs: build: @@ -13,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5579ca1..0f26e05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,11 @@ on: push: branches: - master + +permissions: + id-token: write # Required for OIDC / npm trusted publishing + contents: write # To create releases + jobs: release: name: Release @@ -23,5 +28,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release