diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 676b266..8bc7d17 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,9 +3,11 @@ on: release: types: - published + permissions: id-token: write contents: read + jobs: deploy: name: Deploy @@ -13,15 +15,15 @@ jobs: if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'main' }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Set release version run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV - name: Setup Node - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: - node-version: 20 + node-version: 24 registry-url: "https://registry.npmjs.org" - name: Update NPM @@ -30,7 +32,7 @@ jobs: - name: Build and test npm package run: | npm install - # npm run test --if-present # skip since tests wont work on 20 + # npm run test --if-present # skip since tests wont work on 24 env: BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }} BW_USERNAME: ${{ secrets.BW_USERNAME }}