Skip to content

Commit b753dd5

Browse files
authored
chore: fix publishing pipeline []
chore: fix publishing pipeline []
2 parents d85f905 + c76746a commit b753dd5

File tree

7 files changed

+1295
-17
lines changed

7 files changed

+1295
-17
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
cache: 'npm'
2424

2525
- name: Install dependencies
26-
run: npm ci
26+
run: |
27+
npm ci
28+
npx allow-scripts
2729
2830
- name: Build
2931
run: npm run build

.github/workflows/check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
cache: 'npm'
2222

2323
- name: Install dependencies
24-
run: npm ci
24+
run: |
25+
npm ci
26+
npx allow-scripts
2527
2628
- name: Restore the build folders
2729
uses: actions/cache/restore@v4

.github/workflows/release.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
actions: read
1717

1818
steps:
19-
- name: 'Retrieve Secrets from Vault'
19+
- name: "Retrieve Secrets from Vault"
2020
id: vault
2121
uses: hashicorp/vault-action@v3.4.0
2222
with:
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
git config --global user.name 'contentful-automation[bot]'
4040
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+contentful-automation[bot]@users.noreply.github.com'
41-
41+
4242
- name: Checkout code
4343
uses: actions/checkout@v5
4444
with:
@@ -47,14 +47,16 @@ jobs:
4747
- name: Setup Node.js
4848
uses: actions/setup-node@v6
4949
with:
50-
node-version: '22'
51-
cache: 'npm'
50+
node-version: "22"
51+
cache: "npm"
5252

5353
- name: Install latest npm
5454
run: npm install -g npm@latest
5555

5656
- name: Install dependencies
57-
run: npm ci
57+
run: |
58+
npm ci
59+
npx allow-scripts
5860
5961
- name: Restore the build folders
6062
uses: actions/cache/restore@v4
@@ -85,4 +87,4 @@ jobs:
8587
echo "## Release Summary" >> $GITHUB_STEP_SUMMARY
8688
echo "" >> $GITHUB_STEP_SUMMARY
8789
echo "- **Version**: ${{ steps.get-tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
88-
echo "- **GitHub Release**: https://github.com/${{ github.repository }}/releases/tag/${{ steps.get-tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
90+
echo "- **GitHub Release**: https://github.com/${{ github.repository }}/releases/tag/${{ steps.get-tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY

.github/workflows/test-e2e.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
cache: 'npm'
2929

3030
- name: Install dependencies
31-
run: npm ci
31+
run: |
32+
npm ci
33+
npx allow-scripts
3234
3335
- name: Restore the build folders
3436
uses: actions/cache/restore@v4

.github/workflows/test-integration.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
cache: 'npm'
2929

3030
- name: Install dependencies
31-
run: npm ci
31+
run: |
32+
npm ci
33+
npx allow-scripts
3234
3335
- name: Restore the build folders
3436
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)