ins-queue-actions 1.2.23 → 1.2.26
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.
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
echo "new_version=$NEW_VERSION" >> $GITHUB_ENV
|
|
23
23
|
git config user.name "GitHub Actions"
|
|
24
24
|
git config user.email "actions@github.com"
|
|
25
|
-
git add
|
|
25
|
+
git add .
|
|
26
26
|
git commit -m "Bump version to $NEW_VERSION"
|
|
27
27
|
git push origin main
|
|
28
28
|
|
|
@@ -31,10 +31,18 @@ jobs:
|
|
|
31
31
|
runs-on: ubuntu-latest
|
|
32
32
|
steps:
|
|
33
33
|
- uses: actions/checkout@v4
|
|
34
|
+
with:
|
|
35
|
+
fetch-depth: 0
|
|
36
|
+
|
|
34
37
|
- uses: actions/setup-node@v4
|
|
35
38
|
with:
|
|
36
39
|
node-version: 20
|
|
37
40
|
registry-url: https://registry.npmjs.org/
|
|
38
|
-
|
|
41
|
+
|
|
42
|
+
- name: Fetch the latest code
|
|
43
|
+
run: git pull origin main # Ensures that the latest version is fetched from the main branch.
|
|
44
|
+
|
|
45
|
+
- name: Publish to npm
|
|
46
|
+
run: npm publish
|
|
39
47
|
env:
|
|
40
48
|
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
|