diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index c903783..56c8d1c 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -10,21 +10,22 @@ jobs: if: github.repository_owner == 'klarna-incubator' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - name: Install dependencies run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts - name: Publish to NPM id: publish - uses: JS-DevTools/npm-publish@v1 + uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.NPM_PUBLISH_TOKEN }} access: public + provenance: true - name: Create release - if: steps.publish.outputs.type != 'none' + if: steps.publish.outputs.type id: create_release uses: actions/create-release@v1 env: