diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37a9a14..35ebded 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,7 @@ jobs: issues: write pull-requests: write steps: - - name: Use Node.js 18 - uses: actions/setup-node@v3 - with: - node-version: 18 - - uses: nearform-actions/optic-release-automation-action@v4 + - uses: nearform-actions/optic-release-automation-action@a2785548e8bdafab7e628c2317b604278e460434 # v4.12.2 with: commit-message: 'Release {version}' sync-semver-tags: true @@ -44,7 +40,6 @@ jobs: npm-tag: ${{ startsWith(github.event.inputs.semver, 'pre') && 'alpha' || 'latest' }} # Don't notify linked issues notify-linked-issues: false - # optional: set this secret in your repo config for publishing to NPM - npm-token: ${{ secrets.NPM_TOKEN }} + publish-mode: oidc build-command: | npm ci