diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ccaa90e..a39fdf9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -159,12 +159,10 @@ jobs: steps: - id: checkout name: Checkout Repository - uses: actions/checkout@v3 - - - name: Setup Nodejs - uses: actions/setup-node@v3 + uses: actions/checkout@v4 with: - node-version: "20" + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} - name: Retrieve Credentials id: import-secrets @@ -176,6 +174,11 @@ jobs: secretId: ${{ secrets.VAULT_SECRET_ID }} secrets: /providers/github/organizations/spectrocloud/token?org_name=spectrocloud token | VAULT_GITHUB_TOKEN + - name: Setup Nodejs + uses: actions/setup-node@v4 + with: + node-version: "20" + - name: Install dependencies run: npm ci diff --git a/.releaserc.yaml b/.releaserc.yaml index 8aa6b0e..0b05fb9 100644 --- a/.releaserc.yaml +++ b/.releaserc.yaml @@ -1,19 +1,12 @@ branches: [main] repositoryUrl: https://github.com/spectrocloud/hello-universe plugins: -- "@semantic-release/commit-analyzer" -- "@semantic-release/release-notes-generator" -- "@semantic-release/changelog" -- - "@semantic-release/exec" - - analyzeCommitsCmd: echo 'NEW_VERSION=false' > VERSION.env - verifyReleaseCmd: |- - echo 'export VERSION=${nextRelease.version} - NEW_VERSION=true' > VERSION.env -- - "@semantic-release/github" - - assets: - - "*.zip" -- - "@semantic-release/git" - - assets: - - CHANGELOG.md -- - "@semantic-release/npm" - - npmPublish: true + - "@semantic-release/commit-analyzer" + - "@semantic-release/release-notes-generator" + - "@semantic-release/changelog" + - - "@semantic-release/exec" + - analyzeCommitsCmd: echo 'NEW_VERSION=false' > VERSION.env + verifyReleaseCmd: |- + echo 'export VERSION=${nextRelease.version} + NEW_VERSION=true' > VERSION.env + - - "@semantic-release/github"