|
48 | 48 | name: Update changelog |
49 | 49 | runs-on: ubuntu-latest |
50 | 50 | outputs: |
51 | | - changelog_commitish: ${{ steps.get_sha.outputs.commit_sha }} |
| 51 | + changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }} |
52 | 52 |
|
53 | 53 | steps: |
54 | 54 | - name: Checkout repository |
|
82 | 82 | |
83 | 83 | message: "chore(release): Update changelog, package.json and manifest.json versions [skip ci]" |
84 | 84 |
|
85 | | - - name: Get commit SHA |
86 | | - id: get_sha |
87 | | - run: | |
88 | | - COMMIT_SHA=$(git rev-parse HEAD) |
89 | | - echo "commit_sha=$COMMIT_SHA" >> $GITHUB_OUTPUT |
90 | | -
|
91 | 85 | create_github_release: |
92 | 86 | name: Create github release |
93 | 87 | needs: [release_metadata, update_changelog] |
@@ -165,29 +159,29 @@ jobs: |
165 | 159 | files: | |
166 | 160 | actors-mcp-server.dxt |
167 | 161 |
|
168 | | - publish_to_npm: |
169 | | - name: Publish to NPM |
170 | | - needs: [ update_changelog ] |
171 | | - runs-on: ubuntu-latest |
172 | | - steps: |
173 | | - - uses: actions/checkout@v4 |
174 | | - with: |
175 | | - ref: ${{ needs.update_changelog.outputs.changelog_commitish }} |
176 | | - - name: Use Node.js 22 |
177 | | - uses: actions/setup-node@v4 |
178 | | - with: |
179 | | - node-version: 22 |
180 | | - cache: 'npm' |
181 | | - cache-dependency-path: 'package-lock.json' |
182 | | - - name: Install dependencies |
183 | | - run: | |
184 | | - echo "access=public" >> .npmrc |
185 | | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc |
186 | | - npm ci |
187 | | - - name: Build module |
188 | | - run: npm run build |
189 | | - - name: Publish to NPM |
190 | | - run: npm publish --tag latest |
| 162 | + #publish_to_npm: |
| 163 | + # name: Publish to NPM |
| 164 | + # needs: [ update_changelog ] |
| 165 | + # runs-on: ubuntu-latest |
| 166 | + # steps: |
| 167 | + # - uses: actions/checkout@v4 |
| 168 | + # with: |
| 169 | + # ref: ${{ needs.update_changelog.outputs.changelog_commitish }} |
| 170 | + # - name: Use Node.js 22 |
| 171 | + # uses: actions/setup-node@v4 |
| 172 | + # with: |
| 173 | + # node-version: 22 |
| 174 | + # cache: 'npm' |
| 175 | + # cache-dependency-path: 'package-lock.json' |
| 176 | + # - name: Install dependencies |
| 177 | + # run: | |
| 178 | + # echo "access=public" >> .npmrc |
| 179 | + # echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc |
| 180 | + # npm ci |
| 181 | + # - name: Build module |
| 182 | + # run: npm run build |
| 183 | + # - name: Publish to NPM |
| 184 | + # run: npm publish --tag latest |
191 | 185 |
|
192 | 186 | env: |
193 | 187 | NODE_AUTH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }} |
|
0 commit comments