@8ms/helpers 2.3.25 → 2.3.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "2.3.25",
4
+ "version": "2.3.27",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
@@ -1,41 +0,0 @@
1
- on:
2
- push:
3
- branches: [ main ]
4
-
5
- jobs:
6
- publish:
7
- runs-on: ubuntu-latest
8
- permissions:
9
- contents: read
10
-
11
- steps:
12
- - uses: actions/checkout@v6.0.2
13
-
14
- - uses: actions/setup-node@v6.2.0
15
- with:
16
- node-version: 24
17
- cache: 'yarn'
18
- registry-url: 'https://registry.npmjs.org'
19
-
20
- - name: Install dependencies
21
- run: yarn install --frozen-lockfile
22
-
23
- - name: Build
24
- run: yarn build
25
-
26
- - name: Publish to npm
27
- run: npm publish --access public --loglevel verbose
28
- env:
29
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
-
31
- - name: Verify publish
32
- run: |
33
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
34
- PUBLISHED_VERSION=$(npm view @8ms/helpers dist-tags.latest)
35
- echo "Expected: $PACKAGE_VERSION"
36
- echo "Published: $PUBLISHED_VERSION"
37
- if [ "$PACKAGE_VERSION" != "$PUBLISHED_VERSION" ]; then
38
- echo "❌ Publish verification failed — latest tag not updated"
39
- exit 1
40
- fi
41
- echo "✅ Successfully published @8ms/helpers@$PACKAGE_VERSION"
Binary file